chore: Windows release polish
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ const acquiredLock = app.requestSingleInstanceLock();
|
||||
|
||||
if (acquiredLock) {
|
||||
// start auto update logic
|
||||
// todo: updateElectronApp();
|
||||
updateElectronApp();
|
||||
|
||||
// create and configure the app when electron is ready
|
||||
app.on("ready", () => {
|
||||
|
||||
@@ -20,7 +20,7 @@ export let mainWindow: BrowserWindow;
|
||||
export const BUILD_URL = new URL(
|
||||
app.commandLine.hasSwitch("force-server")
|
||||
? app.commandLine.getSwitchValue("force-server")
|
||||
: (MAIN_WINDOW_VITE_DEV_SERVER_URL ?? "https://beta.revolt.chat"),
|
||||
: /*MAIN_WINDOW_VITE_DEV_SERVER_URL ??*/ "https://beta.revolt.chat",
|
||||
);
|
||||
|
||||
// internal window state
|
||||
|
||||
Reference in New Issue
Block a user