Add --no-updater

This commit is contained in:
Natsumi
2025-11-05 16:45:44 +11:00
parent f5b29ea775
commit cca81067a1
6 changed files with 26 additions and 7 deletions

View File

@@ -54,6 +54,7 @@ const noInstall = args.includes('--no-install');
const x11 = args.includes('--x11');
const noDesktop = args.includes('--no-desktop');
const startup = args.includes('--startup');
const noUpdater = args.includes('--no-updater');
if (process.defaultApp) {
if (process.argv.length >= 2) {
app.setAsDefaultProtocolClient(VRCX_URI_PREFIX, process.execPath, [
@@ -260,6 +261,10 @@ ipcMain.handle('app:getArch', () => {
return process.arch.toString();
});
ipcMain.handle('app:getNoUpdater', () => {
return noUpdater;
});
ipcMain.handle('app:setTrayIconNotification', (event, notify) => {
setTrayIconNotification(notify);
});