From 4bcb8104de4f31044544088d346380603bc677dd Mon Sep 17 00:00:00 2001 From: cutls Date: Sun, 15 Dec 2019 00:52:07 +0900 Subject: [PATCH] Update check on setting --- app/js/ui/settings.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/js/ui/settings.js b/app/js/ui/settings.js index 8779a4f7..d756810a 100644 --- a/app/js/ui/settings.js +++ b/app/js/ui/settings.js @@ -787,6 +787,15 @@ function asReadEnd() { postMessage(['asReadComp', ''], '*') } function checkupd() { + if ( + localStorage.getItem('winstore') == 'brewcask' || + localStorage.getItem('winstore') == 'snapcraft' || + localStorage.getItem('winstore') == 'winstore' + ) { + var winstore = true + } else { + var winstore = false + } var ver = localStorage.getItem('ver') var start = 'https://thedesk.top/ver.json' fetch(start, {