Open
Description
I have electron.js file
const path = require("path");
const { app, BrowserWindow, ipcMain, autoUpdater } = require("electron");
const isDev = require("electron-is-dev");
if (!isDev) {
if (require("electron-squirrel-startup")) return app.quit();
}
const server = "https://random-server.com";
const updateUrl = `${server}/update/${process.platform}/${app.getVersion()}`;
autoUpdater.setFeedURL({ url: updateUrl });
if (!isDev) {
setTimeout(() => {
autoUpdater.checkForUpdates();
}, 60000);
}
function createWindow() {
const win = new BrowserWindow({
width: 800,
height: 600,
icon: "desktop-icons/icon.png",
webPreferences: {
preload: path.join(__dirname, "preload.js"),
nodeIntegration: false,
contextIsolation: true,
enableRemoteModule: false,
},
});
win.loadURL(
isDev
? "http://localhost:3001"
: `file://${path.join(__dirname, "./index.html")}`
);
}
and hazel server running in vercel fetching my release from github repostitory image is attched .
after 60 seconds i am facing an error image is attached
i am usinf electron forge with gihub publish package to publish my release
module.exports = {
packagerConfig: {
icon: "desktop-icons/icon",
name: "chikupos",
appBundleId: "billing.chikupos.com",
asar: true,
hardenedRuntime: true,
},
makers: [
{
name: "@electron-forge/maker-squirrel",
config: {
iconUrl: "https://billing.chikupos.com/desktop-icons/icon.png",
setupIcon: "desktop-icons/icon.ico",
},
},
{
name: "@electron-forge/maker-zip",
},
],
publishers: [
{
name: "@electron-forge/publisher-github",
config: {
repository: {
owner: "myusernam",
name: "my-repository",
},
authToken: "my token",
},
},
],
buildIdentifier: "billing.chikupos.com",
};
Metadata
Metadata
Assignees
Labels
No labels