From bb71a28375df2218e242896efa2f67c126d7470a Mon Sep 17 00:00:00 2001 From: cutls Date: Sat, 2 May 2020 23:32:46 +0900 Subject: [PATCH] Add filesize --- app/js/common/version.js | 2 +- app/main/dl.js | 2 +- app/package.json | 2 +- app/view/make/update.sample.html | 297 ++++++++++++++++--------------- 4 files changed, 157 insertions(+), 146 deletions(-) diff --git a/app/js/common/version.js b/app/js/common/version.js index 5abcbebc..d994f3c6 100644 --- a/app/js/common/version.js +++ b/app/js/common/version.js @@ -1,6 +1,6 @@ //バージョンチェッカー function verck(ver, jp) { - console.log('%c Welcome😊', 'color: red;font-size:200%;') + console.log('%c Welcome😊 ' + ver, 'color: red;font-size:200%;') var date = new Date() var show = false if (localStorage.getItem('ver') != ver && localStorage.getItem('winstore')) { diff --git a/app/main/dl.js b/app/main/dl.js index 9fc233dc..4ce67f13 100644 --- a/app/main/dl.js +++ b/app/main/dl.js @@ -42,7 +42,7 @@ function dl(mainWindow, lang_path, base, dirname) { filename: file, openFolderWhenDone: true, onProgress: function(event) { - e.sender.webContents.send('prog', event) + e.sender.webContents.send('prog', [event, args[2]]) }, saveAs: false } diff --git a/app/package.json b/app/package.json index 45ce9042..0e204178 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "thedesk", - "version": "20.3.2", + "version": "20.3.3", "codename": "Kawaii", "description": "TheDesk is a Mastodon client for PC.", "repository": "https://github.com/cutls/TheDesk", diff --git a/app/view/make/update.sample.html b/app/view/make/update.sample.html index ce64cfdf..e87c00f6 100644 --- a/app/view/make/update.sample.html +++ b/app/view/make/update.sample.html @@ -7,14 +7,14 @@ @@comment-start@@ @@comment-end@@