Skip to content

Commit 35d6dbb

Browse files
committed
add support windows arm
1 parent 70bd586 commit 35d6dbb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

build.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Index {
6464
generateUpdatesFilesForAllChannels: false,
6565
appId: preductname,
6666
productName: preductname,
67-
copyright: 'Copyright © 2020-2024 Luuxis',
67+
copyright: `Copyright © 2020-${new Date().getFullYear()} Luuxis`,
6868
artifactName: "${productName}-${os}-${arch}.${ext}",
6969
extraMetadata: { main: 'app/app.js' },
7070
files: ["app/**/*", "package.json", "LICENSE.md"],
@@ -87,6 +87,10 @@ class Index {
8787
target: [{
8888
target: "nsis",
8989
arch: "x64"
90+
},
91+
{
92+
target: "nsis",
93+
arch: "arm64"
9094
}]
9195
},
9296
nsis: {
@@ -102,7 +106,6 @@ class Index {
102106
hardenedRuntime: false,
103107
gatekeeperAssess: false,
104108
mergeASARs: true,
105-
singleArchFiles: "node_modules/sqlite3/**/*",
106109
target: [{
107110
target: "dmg",
108111
arch: "universal"

0 commit comments

Comments
 (0)