mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-02-02 06:52:13 +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.
|
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).
|
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
|
## Customization
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ function startNormalWindow(account: Account, config: Config): Promise<Window> {
|
|||||||
icon: APP_ICON,
|
icon: APP_ICON,
|
||||||
show: false,
|
show: false,
|
||||||
useContentSize: true,
|
useContentSize: true,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
sandbox: true,
|
sandbox: true,
|
||||||
@ -152,7 +152,7 @@ function startMenuBar(account: Account, config: Config, bar: Menubar.MenubarApp
|
|||||||
alwaysOnTop: IS_DEBUG || !!config.always_on_top,
|
alwaysOnTop: IS_DEBUG || !!config.always_on_top,
|
||||||
tooltip: 'Mstdn',
|
tooltip: 'Mstdn',
|
||||||
useContentSize: true,
|
useContentSize: true,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: false,
|
||||||
show: false,
|
show: false,
|
||||||
showDockIcon: true,
|
showDockIcon: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
|
@ -78,4 +78,5 @@ let config: Config | null = null;
|
|||||||
Ipc.on('mstdn:config', (c: Config, a: Account) => {
|
Ipc.on('mstdn:config', (c: Config, a: Account) => {
|
||||||
config = c;
|
config = c;
|
||||||
setupKeybinds(config.keymaps, a.host);
|
setupKeybinds(config.keymaps, a.host);
|
||||||
|
document.title = `${document.title} @${a.name}@${a.host}`;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user