Skip to content

Commit 93c19cd

Browse files
🔧 fix: set static output directory in electron-builder.json5 for Windows compatibility
Changed the output directory in `electron-builder.json5` from a dynamic version-based path to a static one (`release/0.0.7`). This adjustment addresses a specific issue with Windows NSIS packaging, ensuring consistent and successful builds across different platforms. The manual specification of the output directory helps avoid potential conflicts or errors during the build process, particularly in the Windows environment.
1 parent 6439d67 commit 93c19cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎electron-builder.json5‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
asar: true,
88
productName: "ScreenLink",
99
directories: {
10-
output: "release/${version}",
10+
// manually increase due to issue with Windows nsis
11+
output: "release/0.0.7",
1112
buildResources: "build",
1213
},
1314
files: ["dist", "dist-electron"],

0 commit comments

Comments
 (0)