@samitouri / QOSami-HFS / commits / ef69bd7e

--forceupdate

Massimo Melina committed Mar 29, 2024 at 15:39 UTC ef69bd7e176a9facb7a3fbd00ed7b5d38b939b29
1 file changed +1 -1
src/update.ts
+1 -1
@@ -66,7 +66,7 @@ export function localUpdateAvailable() {
66 }
67
68 export async function updateSupported() {
69 - return IS_BINARY && !await RUNNING_AS_SERVICE
69 + return argv.forceupdate || IS_BINARY && !await RUNNING_AS_SERVICE
70 }
71
72 export async function update(tagOrUrl: string='') {