🔧 Successfully show disk image when packaged
This commit is contained in:
parent
1ae2e5d546
commit
5c1af3ae86
|
@ -11,6 +11,8 @@ window.windows95 = {
|
|||
|
||||
showDiskImage() {
|
||||
const imagePath = path.join(__dirname, 'images/windows95.img')
|
||||
.replace('app.asar', 'app.asar.unpacked')
|
||||
|
||||
shell.showItemInFolder(imagePath)
|
||||
},
|
||||
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
<p id="floppy-path"></p>
|
||||
<p>You can insert a floppy disk image with the ".img" format.</p>
|
||||
<p>
|
||||
Boot the machine from scratch if you've inserted a new floppy disk to
|
||||
make sure that Windows can load it.
|
||||
Boot the machine from scratch if you've inserted a new floppy disk
|
||||
or if you've changed the disk image.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue