mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-02-01 05:52:11 +01:00
fix sandbox flag on switching menubar window
This commit is contained in:
parent
acedcf750b
commit
92c27957f7
@ -255,6 +255,7 @@ function startMenuBar(account: Account, config: Config, bar: Menubar.MenubarApp
|
||||
log.debug('Recreate menubar window with different partition:', account);
|
||||
const pref = mb.getOption('webPreferences');
|
||||
pref.partition = partitionForAccount(account);
|
||||
pref.sandbox = sandboxFlag(config, account);
|
||||
mb.setOption('webPreferences', pref);
|
||||
mb.showWindow();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user