From 48b3ed3aca834bba3f5c1fbf648eaa4d7b7fd6dc Mon Sep 17 00:00:00 2001 From: cutls Date: Mon, 7 Sep 2020 00:14:51 +0900 Subject: [PATCH] some fix --- app/main/dl.js | 1 + app/main/system.js | 2 +- app/view/make/update.sample.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/main/dl.js b/app/main/dl.js index 4329b257..335d315a 100644 --- a/app/main/dl.js +++ b/app/main/dl.js @@ -28,6 +28,7 @@ function dl(mainWindow, lang_path, base, dirname) { show: false }) var lang = fs.readFileSync(lang_path, 'utf8') + //updatewin.toggleDevTools() updatewin.loadURL(base + lang + '/update.html') updatewin.webContents.once('dom-ready', () => { updatewin.show() diff --git a/app/main/system.js b/app/main/system.js index 17964e25..dc5e1c1f 100644 --- a/app/main/system.js +++ b/app/main/system.js @@ -174,7 +174,7 @@ function system(mainWindow, dir, lang, dirname) { }) nanowindow.loadURL(dir + '/nano.html') nanowindow.setAlwaysOnTop(true) - nanowindow.toggleDevTools() + //nanowindow.toggleDevTools() nanowindow.setPosition(window_pos[0], window_pos[1]) nanowindow.on('close', function () { fs.writeFileSync(nano_info_path, JSON.stringify(nanowindow.getPosition())) diff --git a/app/view/make/update.sample.html b/app/view/make/update.sample.html index e87c00f6..4b16e6cd 100644 --- a/app/view/make/update.sample.html +++ b/app/view/make/update.sample.html @@ -86,7 +86,7 @@ info clear -
+

TheDesk

@@updatehere@@