mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
feat: add workingDirectory option to shell.openExternal() (#15065)
Allows passing `workingDirectory` to the underlying `ShellExecuteW` API on Windows. the motivation is that by default `ShellExecute` would use the current working directory, which would get locked on Windows and can prevent autoUpdater from working correctly. We need to be able specify a different `workingDirectory` to prevent this situation.
This commit is contained in:
committed by
Alexey Kuzmin
parent
2d186cb31a
commit
a9475f3590
@@ -611,7 +611,7 @@ void OnOpenExternal(const GURL& escaped_url, bool allowed) {
|
||||
#else
|
||||
escaped_url,
|
||||
#endif
|
||||
true);
|
||||
platform_util::OpenExternalOptions());
|
||||
}
|
||||
|
||||
void HandleExternalProtocolInUI(
|
||||
|
||||
Reference in New Issue
Block a user