From e28c619bdce269b74301cd7d8260e25d6f8a5c3e Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 27 Jan 2019 23:39:05 +0100 Subject: [PATCH] force en-us locale (#618) --- app/lib/app.ts | 1 + app/lib/index.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/app.ts b/app/lib/app.ts index 6dc1d859..34172961 100644 --- a/app/lib/app.ts +++ b/app/lib/app.ts @@ -18,6 +18,7 @@ export class Application { } app.commandLine.appendSwitch('disable-http-cache') + app.commandLine.appendSwitch('lang', 'en-US') } async newWindow (options?: WindowOptions): Promise { diff --git a/app/lib/index.ts b/app/lib/index.ts index 28fe3c18..168b0dae 100644 --- a/app/lib/index.ts +++ b/app/lib/index.ts @@ -12,7 +12,6 @@ if (!process.env.TERMINUS_PLUGINS) { const application = new Application() ipcMain.on('app:new-window', () => { - console.log('new-window') application.newWindow() })