Disable electron-builder publish for Windows installer
Template tests / tests (push) Successful in 1m42s
Template tests / tests (push) Successful in 1m42s
This commit is contained in:
@@ -46,6 +46,7 @@ function createWindowsInstallerConfig(outputDir) {
|
||||
win: {
|
||||
target: ['nsis'],
|
||||
},
|
||||
publish: 'never',
|
||||
nsis: {
|
||||
oneClick: false,
|
||||
allowToChangeInstallationDirectory: true,
|
||||
|
||||
@@ -17,6 +17,7 @@ test('Windows packaging uses an assisted NSIS installer', (t) => {
|
||||
assert.equal(config.nsis.createDesktopShortcut, true);
|
||||
assert.equal(config.nsis.createStartMenuShortcut, true);
|
||||
assert.equal(config.nsis.shortcutName, 'StepForge');
|
||||
assert.equal(config.publish, 'never');
|
||||
assert.equal(config.asar, true);
|
||||
assert.ok(config.files.includes('app/**/*'));
|
||||
assert.ok(config.files.includes('core/**/*'));
|
||||
|
||||
Reference in New Issue
Block a user