mirror of
https://github.com/element-hq/element-desktop
synced 2025-03-25 18:23:36 +01:00
Fix --no-update
command line flag
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
75b77274f5
commit
4f475ddaeb
@ -436,8 +436,8 @@ app.on("ready", async () => {
|
||||
});
|
||||
});
|
||||
|
||||
if (argv["no-update"]) {
|
||||
console.log('Auto update disabled via command line flag "--no-update"');
|
||||
if (argv["update"] === false) {
|
||||
console.log("Auto update disabled via command line flag");
|
||||
} else if (global.vectorConfig["update_base_url"]) {
|
||||
console.log(`Starting auto update with base URL: ${global.vectorConfig["update_base_url"]}`);
|
||||
void updater.start(global.vectorConfig["update_base_url"]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user