Fix windows build process (avoid asar)
This commit is contained in:
parent
ed0175b733
commit
fb63bade2f
|
@ -1,4 +1,5 @@
|
|||
const { MSICreator } = require('electron-wix-msi');
|
||||
const package = require('package.json')
|
||||
|
||||
// Step 1: Instantiate the MSICreator
|
||||
const msiCreator = new MSICreator({
|
||||
|
@ -7,7 +8,7 @@ const msiCreator = new MSICreator({
|
|||
exe: 'mcopy',
|
||||
name: 'mcopy',
|
||||
manufacturer: 'sixteenmillimeter.com',
|
||||
version: '2.0.0',
|
||||
version: package.version,
|
||||
outputDirectory: '../dist/'
|
||||
});
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
./node_modules/.bin/electron-packager . mcopy --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/icon.ico --prune=true --out=../dist --version-string.CompanyName="sixteenmillimeter.com" --version-string.FileDescription="Open Source Optical Printer Platform" --version-string.ProductName="mcopy"
|
||||
./node_modules/.bin/electron-packager . mcopy --overwrite --platform=win32 --arch=x64 --icon=assets/icons/icon.ico --prune=true --out=../dist --version-string.CompanyName="sixteenmillimeter.com" --version-string.FileDescription="Open Source Optical Printer Platform" --version-string.ProductName="mcopy"
|
||||
|
||||
mkdir ../dist/installers
|
||||
|
||||
|
|
Loading…
Reference in New Issue