mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
[app] No devtools by default
This commit is contained in:
@@ -125,13 +125,9 @@ const createChat = (query?: string) => {
|
||||
}
|
||||
|
||||
// DevTools
|
||||
if (isDev) {
|
||||
mainWindow.webContents.openDevTools(); // always in dev
|
||||
} else {
|
||||
globalShortcut.register('Alt+Command+I', () => {
|
||||
mainWindow.webContents.openDevTools(); // key combo in distributed app
|
||||
});
|
||||
}
|
||||
globalShortcut.register('Alt+Command+I', () => {
|
||||
mainWindow.webContents.openDevTools(); // key combo in distributed app
|
||||
});
|
||||
};
|
||||
|
||||
const createTray = () => {
|
||||
|
||||
Reference in New Issue
Block a user