Skip to content

Commit e5da694

Browse files
Schnepseguenhter
authored andcommitted
chore: update node engine version to 22 and add electron-rebuild dependency
1 parent 3722762 commit e5da694

File tree

4 files changed

+845
-731
lines changed

4 files changed

+845
-731
lines changed

forge.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
module.exports = {
22
packagerConfig: {
3-
asar: true,
3+
asar: false, // Disable asar to allow native modules to work
44
out: "dist",
55
appBundleId: "com.github.guenhter.multi-ssh",
66
productName: "Multi SSH",
77
files: ["main.js", "renderer.js", "index.html", "node_modules/**/*"],
8+
extraResource: [
9+
"multi_ssh_config.sample.yaml"
10+
],
811
},
912
rebuildConfig: {},
1013
makers: [

main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ function createWindow() {
8585
nodeIntegration: true,
8686
contextIsolation: false,
8787
enableRemoteModule: true,
88+
sandbox: false,
89+
webSecurity: false,
8890
},
8991
icon: path.join(__dirname, "assets/ssh.png"), // Optional: add an icon
9092
titleBarStyle: "default",

0 commit comments

Comments
 (0)