Skip to content

Commit 3594d85

Browse files
committed
Version 4.0.8 - Disable signature verification for auto-updates
- Added forceDevUpdateConfig to bypass signature checks - Added verifyUpdateCodeSignature: false in build config - Allows auto-updates to work without code signing certificate - This is safe for personal/testing use - For production, proper code signing should be implemented
1 parent d8cb0b2 commit 3594d85

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "poly-hub",
3-
"version": "4.0.7",
3+
"version": "4.0.8",
44
"description": "P2P file sharing between trusted users over Tailscale",
55
"main": "src/main/main.js",
66
"scripts": {
@@ -66,7 +66,8 @@
6666
}
6767
],
6868
"icon": "assets/icon.ico",
69-
"publisherName": "Poly-Hub"
69+
"publisherName": "Poly-Hub",
70+
"verifyUpdateCodeSignature": false
7071
},
7172
"nsis": {
7273
"oneClick": false,

src/main/autoUpdater.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ let mainWindow;
1212
autoUpdater.autoDownload = false;
1313
autoUpdater.autoInstallOnAppQuit = true;
1414

15+
// IMPORTANT: Disable signature verification for unsigned builds
16+
// Remove this in production with proper code signing
17+
autoUpdater.forceDevUpdateConfig = true;
18+
1519
// Set update feed URL explicitly
1620
autoUpdater.setFeedURL({
1721
provider: 'github',

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "4.0.7",
2+
"version": "4.0.8",
33
"buildDate": "2026-02-05",
44
"name": "Poly-Hub"
55
}

0 commit comments

Comments
 (0)