aboutsummaryrefslogtreecommitdiff
path: root/crash/wrapper.js
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-08-05 17:21:23 +0200
committerMinteck <nekostarfan@gmail.com>2021-08-05 17:21:23 +0200
commitd5a620cf09b835db2bccd99556525c90b458719f (patch)
tree1507f96be0413bd20026878890b0c1ad438e51d2 /crash/wrapper.js
parent44210691ee8444509ac466a362337af77f2bcd49 (diff)
downloadkartik-client-d5a620cf09b835db2bccd99556525c90b458719f.tar.gz
kartik-client-d5a620cf09b835db2bccd99556525c90b458719f.tar.bz2
kartik-client-d5a620cf09b835db2bccd99556525c90b458719f.zip
i18n for 21.08
Diffstat (limited to 'crash/wrapper.js')
-rw-r--r--crash/wrapper.js76
1 files changed, 38 insertions, 38 deletions
diff --git a/crash/wrapper.js b/crash/wrapper.js
index 16ecfd9..4c291bd 100644
--- a/crash/wrapper.js
+++ b/crash/wrapper.js
@@ -1,39 +1,39 @@
-const { app, BrowserWindow } = require('electron')
-
-lp = "en";
-
-function createWindow () {
- const win = new BrowserWindow({
- width: 800,
- height: 375,
- resizeable: false,
- resizable: false,
- maximizable: false,
- bgColor: "#ffffff",
- title: "Kartik",
- webPreferences: {
- nodeIntegration: true,
- contextIsolation: false,
- enableRemoteModule: true,
- webviewTag: true
- }
- })
-
- win.lp = lp;
- win.loadFile('crash.html')
- win.setMenu(null);
-}
-
-app.whenReady().then(createWindow)
-
-app.on('window-all-closed', () => {
- if (process.platform !== 'darwin') {
- app.quit()
- }
-})
-
-app.on('activate', () => {
- if (BrowserWindow.getAllWindows().length === 0) {
- createWindow()
- }
+const { app, BrowserWindow } = require('electron')
+
+lp = "en";
+
+function createWindow () {
+ const win = new BrowserWindow({
+ width: 800,
+ height: 375,
+ resizeable: false,
+ resizable: false,
+ maximizable: false,
+ bgColor: "#ffffff",
+ title: "Kartik",
+ webPreferences: {
+ nodeIntegration: true,
+ contextIsolation: false,
+ enableRemoteModule: true,
+ webviewTag: true
+ }
+ })
+
+ win.lp = lp;
+ win.loadFile('crash.html')
+ win.setMenu(null);
+}
+
+app.whenReady().then(createWindow)
+
+app.on('window-all-closed', () => {
+ if (process.platform !== 'darwin') {
+ app.quit()
+ }
+})
+
+app.on('activate', () => {
+ if (BrowserWindow.getAllWindows().length === 0) {
+ createWindow()
+ }
}) \ No newline at end of file