Skip to content

Commit

Permalink
chore: try squirrel instead of wix
Browse files Browse the repository at this point in the history
  • Loading branch information
howech committed Oct 31, 2024
1 parent b9cbecc commit bc87ddb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
22 changes: 16 additions & 6 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,24 @@ module.exports = {
force: true,
},
makers: [
// {
// name: "@electron-forge/maker-wix",
// config: {
// name: "GPGBridge",
// manufacturer: "Unchained",
// exe: "GPGBridge.exe",
// icon: "./icons/win/icon.ico",
// version: pkg.version,
// },
// },

{
name: "@electron-forge/maker-wix",

name: '@electron-forge/maker-squirrel',
config: {
name: "GPGBridge",
manufacturer: "Unchained",
exe: "GPGBridge.exe",
icon: "./icons/win/icon.ico",
version: pkg.version,
authors: "Unchained",
// certificateFile: './cert.pfx',
// certificatePassword: process.env.CERTIFICATE_PASSWORD
},
},
{
Expand Down
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { app, BrowserWindow, Tray, Menu } = require("electron");
if (require('electron-squirrel-startup')) app.quit();
const path = require("path");
const WebSocket = require("ws");
const { execFile, spawn } = require("child_process");
Expand Down

0 comments on commit bc87ddb

Please sign in to comment.