mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +08:00
fix the copy and paste shortcut keys are not working on MacOS
This commit is contained in:
parent
5e1d2db8ce
commit
6fb80a848f
|
@ -7,3 +7,7 @@
|
||||||
- 代理组图标支持SVG格式
|
- 代理组图标支持SVG格式
|
||||||
- 优化覆写启用逻辑
|
- 优化覆写启用逻辑
|
||||||
- 覆写支持全局启用
|
- 覆写支持全局启用
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- 修复 MacOS 上复制粘贴快捷键失效的问题
|
||||||
|
|
|
@ -48,7 +48,6 @@ if (!gotTheLock) {
|
||||||
app.quit()
|
app.quit()
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu.setApplicationMenu(null)
|
|
||||||
const initPromise = init()
|
const initPromise = init()
|
||||||
|
|
||||||
app.on('second-instance', async (_event, commandline) => {
|
app.on('second-instance', async (_event, commandline) => {
|
||||||
|
@ -149,6 +148,8 @@ export async function createWindow(): Promise<void> {
|
||||||
defaultWidth: 800,
|
defaultWidth: 800,
|
||||||
defaultHeight: 600
|
defaultHeight: 600
|
||||||
})
|
})
|
||||||
|
// https://github.com/electron/electron/issues/16521#issuecomment-582955104
|
||||||
|
Menu.setApplicationMenu(null)
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
minWidth: 800,
|
minWidth: 800,
|
||||||
minHeight: 600,
|
minHeight: 600,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user