Skip to content

Commit 7caca55

Browse files
✨ add nsis
1 parent 93cbcf6 commit 7caca55

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

electron-builder.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,12 @@ export default <Configuration>{
5858
},
5959
],
6060
},
61+
nsis: {
62+
// 禁用一键安装
63+
oneClick: false,
64+
// 为所有用户安装
65+
perMachine: true,
66+
// 允许修改安装目录
67+
allowToChangeInstallationDirectory: true,
68+
},
6169
}

0 commit comments

Comments
 (0)