fix: i18n and lint
This commit is contained in:
@@ -144,7 +144,7 @@ export function registerShortcuts(window: BrowserWindow) {
|
||||
if (!shortcut.enabled) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
// only register universal shortcuts when needed
|
||||
if (onlyUniversalShortcuts && !['show_app', 'mini_window'].includes(shortcut.key)) {
|
||||
return
|
||||
|
||||
@@ -144,7 +144,7 @@ export class WindowService {
|
||||
private setupWindowEvents(mainWindow: BrowserWindow) {
|
||||
mainWindow.once('ready-to-show', () => {
|
||||
mainWindow.webContents.setZoomFactor(configManager.getZoomFactor())
|
||||
|
||||
|
||||
// show window only when laucn to tray not set
|
||||
const isLaunchToTray = configManager.getLaunchToTray()
|
||||
if (!isLaunchToTray) {
|
||||
|
||||
Reference in New Issue
Block a user