mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-01-21 20:52:11 +01:00
do not hide app menu on Windows
This commit is contained in:
parent
2b6b6c14eb
commit
1fd663a93c
@ -46,7 +46,7 @@ You need to fill up `"name"` and `"host"` keys in first element of `"accounts"`.
|
||||
Then please try to start app again. Usage is the same as web client on mobile devices.
|
||||
Some shortcuts are available by default (please see below 'Customization' section).
|
||||
|
||||
Supported platforms are macOS (confirmed with 10.12), Linux (hopefully) and Windows (hopefully).
|
||||
Supported platforms are macOS (confirmed with 10.12), Linux (hopefully) and Windows (confirmed with Windows 8.1).
|
||||
|
||||
## Customization
|
||||
|
||||
|
@ -100,7 +100,7 @@ function startNormalWindow(account: Account, config: Config): Promise<Window> {
|
||||
icon: APP_ICON,
|
||||
show: false,
|
||||
useContentSize: true,
|
||||
autoHideMenuBar: true,
|
||||
autoHideMenuBar: false,
|
||||
webPreferences: {
|
||||
nodeIntegration: false,
|
||||
sandbox: true,
|
||||
@ -152,7 +152,7 @@ function startMenuBar(account: Account, config: Config, bar: Menubar.MenubarApp
|
||||
alwaysOnTop: IS_DEBUG || !!config.always_on_top,
|
||||
tooltip: 'Mstdn',
|
||||
useContentSize: true,
|
||||
autoHideMenuBar: true,
|
||||
autoHideMenuBar: false,
|
||||
show: false,
|
||||
showDockIcon: true,
|
||||
webPreferences: {
|
||||
|
@ -78,4 +78,5 @@ let config: Config | null = null;
|
||||
Ipc.on('mstdn:config', (c: Config, a: Account) => {
|
||||
config = c;
|
||||
setupKeybinds(config.keymaps, a.host);
|
||||
document.title = `${document.title} @${a.name}@${a.host}`;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user