🔧 Successfully show disk image when packaged

This commit is contained in:
Felix Rieseberg 2018-08-24 21:33:51 -07:00
parent 1ae2e5d546
commit 5c1af3ae86
2 changed files with 4 additions and 2 deletions

View file

@ -11,6 +11,8 @@ window.windows95 = {
showDiskImage() {
const imagePath = path.join(__dirname, 'images/windows95.img')
.replace('app.asar', 'app.asar.unpacked')
shell.showItemInFolder(imagePath)
},

View file

@ -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>