mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
build(electron): add nsis build to release-desktop workflow (#6677)
Updater may break after this PR and will be fixed in the next one After this PR, we will have two windows installer options - affine-0.14.0-canary.9-canary-windows-x64.exe - affine-0.14.0-canary.9-canary-windows-x64.nsis.exe (added)
This commit is contained in:
@@ -16,7 +16,7 @@ import {
|
||||
ROOT,
|
||||
} from './make-env.js';
|
||||
|
||||
const log = debug('electron-forge:make-nsis');
|
||||
const log = debug('make-nsis');
|
||||
|
||||
async function make() {
|
||||
const appName = productName;
|
||||
@@ -44,6 +44,8 @@ async function make() {
|
||||
{ dir: tmpPath },
|
||||
{
|
||||
win: [`nsis:${arch}`],
|
||||
// @ts-expect-error - upstream type is wrong
|
||||
publish: null, // buildForge will incorrectly publish the build
|
||||
config: {
|
||||
appId: appIdMap[buildType],
|
||||
productName,
|
||||
@@ -73,7 +75,7 @@ async function make() {
|
||||
);
|
||||
|
||||
// Move the output to the actual output folder, app-builder-lib might get it wrong
|
||||
log('Received output files', output);
|
||||
log('making nsis.windows done:', output);
|
||||
|
||||
const result: Array<string> = [];
|
||||
for (const file of output) {
|
||||
|
||||
Reference in New Issue
Block a user