diff --git a/app/js/login/manager.js b/app/js/login/manager.js index 8a1ad00a..e4b9afb8 100644 --- a/app/js/login/manager.js +++ b/app/js/login/manager.js @@ -60,7 +60,7 @@ function load() { var electron = require("electron"); var remote=electron.remote; var platform=remote.process.platform; - if(platform=="win32"){ + if(localStorage.getItem("winstore")!="localinstall"){ $("#linux").prop("checked", false); }else{ $("#linux").prop("checked", true); diff --git a/app/js/post/post.js b/app/js/post/post.js index 61255f11..4136fc55 100644 --- a/app/js/post/post.js +++ b/app/js/post/post.js @@ -1,4 +1,4 @@ -/*投稿系*/ +/*投稿系*/ //投稿 function sec(){ var mode=localStorage.getItem("sec");