mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-08 15:02:17 +08:00
🙄 解决 Mac 下 dock 栏不显示图标问题
This commit is contained in:
@@ -74,6 +74,10 @@ function createMini() {
|
||||
})
|
||||
}
|
||||
|
||||
if (process.platform === 'darwin') {
|
||||
app.dock.show()
|
||||
}
|
||||
|
||||
app.allowRendererProcessReuse = true
|
||||
app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors')
|
||||
if (process.platform === 'Linux') {
|
||||
@@ -178,9 +182,6 @@ if (!gotTheLock) {
|
||||
})
|
||||
}
|
||||
|
||||
// show mac dock icon
|
||||
app.dock.show()
|
||||
|
||||
// Exit cleanly on request from parent process in development mode.
|
||||
if (isDevelopment) {
|
||||
if (process.platform === 'win32') {
|
||||
|
||||
Reference in New Issue
Block a user