mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
empirically fix win32 shortcut in start menu
This commit is contained in:
parent
f2afcc0bc8
commit
79d164309f
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ const spawn = require('child_process').spawn;
|
|||
const app = require('electron').app;
|
||||
|
||||
function run_update_exe(args, done) {
|
||||
const updateExe = path.resolve(path.dirname(process.execPath), '..', 'Update.exe');
|
||||
const updateExe = path.resolve(path.dirname(process.execPath), 'Update.exe');
|
||||
spawn(updateExe, args, {
|
||||
detached: true
|
||||
}).on('close', done);
|
||||
|
|
Loading…
Reference in a new issue