diff --git a/app/main/dl.js b/app/main/dl.js index 4ce67f13..b89712b6 100644 --- a/app/main/dl.js +++ b/app/main/dl.js @@ -24,10 +24,14 @@ function dl(mainWindow, lang_path, base, dirname) { height: 400, transparent: false, // ウィンドウの背景を透過 frame: false, // 枠の無いウィンドウ - resizable: false + resizable: false, + show: false }) var lang = fs.readFileSync(lang_path, 'utf8') updatewin.loadURL(base + lang + '/update.html') + updatewin.webContents.once('dom-ready', () => { + updatewin.show() + }) return 'true' } else { return false @@ -36,7 +40,7 @@ function dl(mainWindow, lang_path, base, dirname) { //アプデDL ipc.on('download-btn', async (e, args) => { function dl(url, file, dir, e) { - e.sender.webContents.send('mess', 'ダウンロードを開始します。') + e.sender.webContents.send('mess', 'Start...') const opts = { directory: dir, filename: file, diff --git a/app/package.json b/app/package.json index a89294b6..d28f3519 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "thedesk", - "version": "20.3.3", - "codename": "Kawaii", + "version": "21.0.0", + "codename": "Mayu", "description": "TheDesk is a Mastodon client for PC.", "repository": "https://github.com/cutls/TheDesk", "main": "main.js", diff --git a/app/view/make/index.sample.html b/app/view/make/index.sample.html index 5519717f..1aabd337 100644 --- a/app/view/make/index.sample.html +++ b/app/view/make/index.sample.html @@ -1199,17 +1199,22 @@ HP
GitHub

-