#23 Fix: Snap updator bug
This commit is contained in:
commit
6c69954ec4
|
@ -60,7 +60,7 @@ function load() {
|
||||||
var electron = require("electron");
|
var electron = require("electron");
|
||||||
var remote=electron.remote;
|
var remote=electron.remote;
|
||||||
var platform=remote.process.platform;
|
var platform=remote.process.platform;
|
||||||
if(platform=="win32"){
|
if(localStorage.getItem("winstore")!="localinstall"){
|
||||||
$("#linux").prop("checked", false);
|
$("#linux").prop("checked", false);
|
||||||
}else{
|
}else{
|
||||||
$("#linux").prop("checked", true);
|
$("#linux").prop("checked", true);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*投稿系*/
|
/*投稿系*/
|
||||||
//投稿
|
//投稿
|
||||||
function sec(){
|
function sec(){
|
||||||
var mode=localStorage.getItem("sec");
|
var mode=localStorage.getItem("sec");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user