feat: Add DISABLE_AUTO_UPDATES env variable for disabling updates in the application entirely (#1446)

This commit is contained in:
BatteredBunny
2025-12-28 10:50:55 +02:00
committed by GitHub
parent e821397e6c
commit 63015195b0
4 changed files with 16 additions and 5 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
import { ipcRenderer, IpcRendererEvent } from 'electron';
import { isLinux, isMacOS, isWindows } from '../main/utils';
import { disableAutoUpdates, isLinux, isMacOS, isWindows } from '../main/utils';
const openItem = async (path: string) => {
return ipcRenderer.invoke('open-item', path);
@@ -40,6 +40,7 @@ const download = (url: string) => {
};
export const utils = {
disableAutoUpdates,
download,
isLinux,
isMacOS,