diff --git a/app/main.js b/app/main.js index 7b03b3c7..5ac65ae1 100644 --- a/app/main.js +++ b/app/main.js @@ -79,7 +79,11 @@ function createWindow() { if(lang == 'ja') { const maxims = JSON.parse(fs.readFileSync(__dirname + '/maxim.ja.json')) var show = maxims[Math.floor(Math.random() * maxims.length)] - } else { + } else if(lang == 'ja-KS') { + //ja-KSも作れたらいいね + const maxims = JSON.parse(fs.readFileSync(__dirname + '/maxim.ja.json')) + var show = maxims[Math.floor(Math.random() * maxims.length)] + } else{ var show = 'TheDesk 2018' } const data = JSON.parse(package) diff --git a/app/package.json b/app/package.json index 82c46927..820229cc 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "thedesk", - "version": "21.0.2", + "version": "21.0.3", "codename": "Mayu", "description": "TheDesk is a Mastodon client for PC.", "repository": "https://github.com/cutls/TheDesk", diff --git a/app/view/make/index.sample.html b/app/view/make/index.sample.html index 853bab8f..3ca04ea3 100644 --- a/app/view/make/index.sample.html +++ b/app/view/make/index.sample.html @@ -1127,20 +1127,20 @@ HP
GitHub

-