diff --git a/app/js/login/manager.js b/app/js/login/manager.js index 893b684e..c735e811 100644 --- a/app/js/login/manager.js +++ b/app/js/login/manager.js @@ -304,7 +304,7 @@ function login(url) { return; } if ($('#linux:checked').val() == "on") { - var red = "https://thedesk.top/hello.html" + var red = "urn:ietf:wg:oauth:2.0:oob" } else { var red = 'thedesk://manager'; } @@ -508,7 +508,7 @@ function code(code) { httpreq.responseType = "json"; httpreq.send(JSON.stringify({ grant_type: "authorization_code", - redirect_uri: "https://thedesk.top/hello.html", + redirect_uri: "urn:ietf:wg:oauth:2.0:oob", client_id: id, client_secret: secret, code: code diff --git a/app/js/platform/preload.js b/app/js/platform/preload.js index 3d77576b..61f0ae70 100644 --- a/app/js/platform/preload.js +++ b/app/js/platform/preload.js @@ -64,9 +64,6 @@ ipc.on('platform', function (event, args) { localStorage.setItem("bit", args[1]) localStorage.setItem("about", JSON.stringify([args[2], args[3], args[4]])) }) -ipc.on('winstore', function (event, arg) { - localStorage.setItem("winstore", arg) -}) ipc.on('reload', function (event, arg) { location.reload(); diff --git a/app/main/system.js b/app/main/system.js index 95f80b15..f7696645 100644 --- a/app/main/system.js +++ b/app/main/system.js @@ -51,22 +51,6 @@ function system(mainWindow, dir, lang, dirname) { fs.writeFileSync(lang_path, arg); e.sender.webContents.send('langres', ""); }) - //ストアから入れたかダイアログ - ipc.on('dialogStore', function (e, args) { - dialog.showMessageBox(args, function (arg) { - if (arg == 1) { - e.sender.webContents.send('winstore', "winstore"); - } else { - e.sender.webContents.send('winstore', "localinstall"); - } - }); - }) - //CWのダイアログ - ipc.on('dialogCW', function (e, args) { - dialog.showMessageBox(args, function (arg) { - e.sender.webContents.send('dialogCWRender', arg); - }); - }) //クライアントのダイアログ ipc.on('dialogClient', function (e, args) { dialog.showMessageBox(args, function (arg) {