TheDesk Usamin (18.6.0)
This commit is contained in:
parent
a5f8e34ee6
commit
334fbdab3f
|
@ -50,6 +50,7 @@ option {
|
|||
max-height: 100vh;
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
top: 0 !important;
|
||||
}
|
||||
#videomodal,
|
||||
#tootmodal {
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
textarea{
|
||||
min-height: 100px !important;
|
||||
}
|
||||
|
||||
.cancel {
|
||||
font-size: 0.5rem;
|
||||
|
|
|
@ -120,3 +120,50 @@ function playSound() {
|
|||
volumeControl.gain.value = 0.8
|
||||
source.start(0);
|
||||
}
|
||||
onmessage = function (e) {
|
||||
if (e.data[0] == "details") {
|
||||
details(e.data[1][0], e.data[1][1])
|
||||
} else if (e.data[0] == "udg") {
|
||||
udg(e.data[1][0], e.data[1][1])
|
||||
} else if (e.data[0] == "media") {
|
||||
media(e.data[1][0], e.data[1][1], e.data[1][2])
|
||||
} else if (e.data[0] == "post") {
|
||||
post("pass")
|
||||
} else if (e.data[0] == "toastSaved") {
|
||||
M.toast({ html: lang.lang_img_DLDone + e.data[1][0] + '<button class="btn-flat toast-action" onclick="openFinder(\'' + e.data[1][1] + '\')">Show</button>', displayLength: 5000 })
|
||||
} else if (e.data[0] == "toastMute") {
|
||||
M.toast({ html: escapeHTML(e.data[1]) + lang.lang_parse_mute, displayLength: 2000 })
|
||||
} else if (e.data[0] == "toastEmp") {
|
||||
M.toast({ html: escapeHTML(e.data[1]) + lang.lang_status_emphas, displayLength: 2000 })
|
||||
} else if (e.data[0] == "toastUnEmp") {
|
||||
M.toast({ html: escapeHTML(e.data[1]) + lang.lang_status_unemphas, displayLength: 2000 })
|
||||
} else if (e.data[0] == "parseColumn") {
|
||||
parseColumn()
|
||||
} else if (e.data[0] == "sortload") {
|
||||
sortload()
|
||||
} else if (e.data[0] == "exportSettingsCore") {
|
||||
exportSettingsCore()
|
||||
} else if (e.data[0] == "fontList") {
|
||||
fontList(e.data[1])
|
||||
} else if (e.data[0] == "customSoundSave") {
|
||||
customSoundSave(e.data[1][0], e.data[1][1])
|
||||
} else if (e.data[0] == "ctLoadCore") {
|
||||
ctLoadCore(e.data[1])
|
||||
} else if (e.data[0] == "ctLoad") {
|
||||
ctLoad()
|
||||
} else if (e.data[0] == "customConnect") {
|
||||
customConnect(e.data[1])
|
||||
} else if (e.data[0] == "clearCustomImport") {
|
||||
clearCustomImport()
|
||||
} else if (e.data[0] == "npCore") {
|
||||
npCore(e.data[1]);
|
||||
} else if (e.data[0] == "renderMem") {
|
||||
renderMem(e.data[1][0], e.data[1][1], e.data[1][2])
|
||||
} else if (e.data[0] == "updateProg") {
|
||||
updateProg(e.data[1]);
|
||||
} else if (e.data[0] == "updateMess") {
|
||||
updateMess(e.data[1]);
|
||||
} else if (e.data[0] == "renderAbout") {
|
||||
renderAbout(e.data[1]);
|
||||
}
|
||||
}
|
|
@ -16,6 +16,7 @@ onmessage = function (e) {
|
|||
} else if (e.data[0] == "dialogCW") {
|
||||
ipc.send("dialogCW", e.data[1])
|
||||
} else if (e.data[0] == "nativeNotf") {
|
||||
console.log(e.data[1])
|
||||
ipc.send('native-notf', e.data[1]);
|
||||
} else if (e.data[0] == "dialogClient") {
|
||||
ipc.send("dialogClient", e.data[1])
|
||||
|
@ -42,7 +43,8 @@ onmessage = function (e) {
|
|||
} else if (e.data[0] == "ha") {
|
||||
ipc.send('ha', had);
|
||||
} else if (e.data[0] == "itunes") {
|
||||
if (ipc.listenerCount('itunes-np') > 0) {
|
||||
console.log("NowPlaying" + ipc.listenerCount('itunes-np'))
|
||||
if (ipc.listenerCount('itunes-np') > 1) {
|
||||
return false;
|
||||
} else {
|
||||
ipc.send("itunes", e.data[1])
|
||||
|
@ -55,8 +57,9 @@ onmessage = function (e) {
|
|||
}
|
||||
//version.js
|
||||
ipc.send("getPlatform", "")
|
||||
ipc.on('platform', function (event, arg) {
|
||||
localStorage.setItem("platform", arg)
|
||||
ipc.on('platform', function (event, args) {
|
||||
localStorage.setItem("platform", args[0])
|
||||
localStorage.setItem("bit", args[1])
|
||||
})
|
||||
ipc.on('winstore', function (event, arg) {
|
||||
localStorage.setItem("winstore", arg)
|
||||
|
@ -65,22 +68,12 @@ ipc.on('winstore', function (event, arg) {
|
|||
ipc.on('reload', function (event, arg) {
|
||||
location.reload();
|
||||
})
|
||||
ipc.on('mess', function (event, arg) {
|
||||
if (arg == "unzip") {
|
||||
if (lang == "ja") {
|
||||
$("body").text("アップデートを展開中です。");
|
||||
} else {
|
||||
$("body").text("Unzipping...");
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
//Native Notf
|
||||
ipc.on('shownotf', function (event, args) {
|
||||
if (args["type"] == "toot") {
|
||||
details(id, acct_id)
|
||||
postMessage(["details", [id, acct_id]], "*")
|
||||
} else if (args["type"] == "userdata") {
|
||||
udg(user, acct_id)
|
||||
postMessage(["udg", [user, acct_id]], "*")
|
||||
}
|
||||
})
|
||||
function nano() {
|
||||
|
@ -107,7 +100,7 @@ ipc.on('theme-css-response', function (event, arg) {
|
|||
})
|
||||
//img.js
|
||||
ipc.on('bmp-img-comp', function (event, b64) {
|
||||
media(b64[0], "image/png", b64[1]);
|
||||
postMessage(["media", [b64[0], "image/png", b64[1]]], "*")
|
||||
});
|
||||
//post.js
|
||||
ipc.on('dialogCWRender', function (event, arg) {
|
||||
|
@ -116,9 +109,9 @@ ipc.on('dialogCWRender', function (event, arg) {
|
|||
$("#cw").addClass("yellow-text");
|
||||
$("#cw").addClass("cw-avail");
|
||||
$("#cw-text").val(plus);
|
||||
post("pass");
|
||||
postMessage(["post", ""], "*")
|
||||
} else if (arg === 2) {
|
||||
post("pass");
|
||||
postMessage(["post", ""], "*")
|
||||
}
|
||||
});
|
||||
//parse.js
|
||||
|
@ -129,7 +122,7 @@ ipc.on('dialogClientRender', function (event, arg) {
|
|||
if (!obj) {
|
||||
var obj = [];
|
||||
obj.push(name);
|
||||
M.toast({ html: escapeHTML(name) + lang.lang_status_emphas, displayLength: 2000 })
|
||||
postMessage(["toastEmp", name], "*")
|
||||
} else {
|
||||
var can;
|
||||
Object.keys(obj).forEach(function (key) {
|
||||
|
@ -139,12 +132,12 @@ ipc.on('dialogClientRender', function (event, arg) {
|
|||
} else {
|
||||
can = true;
|
||||
obj.splice(key, 1);
|
||||
M.toast({ html: escapeHTML(name) + lang.lang_status_unemphas, displayLength: 2000 })
|
||||
postMessage(["toastUnEmp", name], "*")
|
||||
}
|
||||
});
|
||||
if (!can) {
|
||||
obj.push(name);
|
||||
M.toast({ html: escapeHTML(name) + lang.lang_status_emphas, displayLength: 2000 })
|
||||
postMessage(["toastEmp", name], "*")
|
||||
} else {
|
||||
|
||||
}
|
||||
|
@ -160,7 +153,7 @@ ipc.on('dialogClientRender', function (event, arg) {
|
|||
obj.push(name);
|
||||
var json = JSON.stringify(obj);
|
||||
localStorage.setItem("client_mute", json);
|
||||
M.toast({ html: escapeHTML(name) + lang.lang_parse_mute, displayLength: 2000 })
|
||||
postMessage(["toastMute", name], "*")
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
@ -172,11 +165,14 @@ ipc.on('general-dl-prog', function (event, arg) {
|
|||
})
|
||||
ipc.on('general-dl-message', function (event, arg) {
|
||||
var argC = arg.replace(/\\/g, "\\\\") + "\\\\.";
|
||||
M.toast({ html: lang.lang_img_DLDone + arg + '<button class="btn-flat toast-action" onclick="openFinder(\'' + argC + '\')">Show</button>', displayLength: 5000 })
|
||||
console.log("saved")
|
||||
postMessage(["toastSaved", [arg, argC]], "*")
|
||||
})
|
||||
//layout.js
|
||||
ipc.on('column-del-reply', function (event, args) {
|
||||
if (args[0] === 1) {
|
||||
var multi = localStorage.getItem("column");
|
||||
var obj = JSON.parse(multi);
|
||||
localStorage.removeItem("card_" + args[1]);
|
||||
obj.splice(args[1], 1);
|
||||
for (var i = 0; i < obj.length; i++) {
|
||||
|
@ -185,8 +181,8 @@ ipc.on('column-del-reply', function (event, args) {
|
|||
}
|
||||
var json = JSON.stringify(obj);
|
||||
localStorage.setItem("column", json);
|
||||
parseColumn();
|
||||
sortload()
|
||||
postMessage(["parseColumn", ""], "*")
|
||||
postMessage(["sortload", ""], "*")
|
||||
}
|
||||
})
|
||||
//setting.js
|
||||
|
@ -201,51 +197,51 @@ ipc.on('exportSettingsFile', function (event, savedFiles) {
|
|||
//lang
|
||||
});
|
||||
ipc.on('config', function (event, arg) {
|
||||
importSettingsCore(arg)
|
||||
postMessage(["importSettingsCore", arg], "*")
|
||||
});
|
||||
ipc.on('savefolder', function (event, arg) {
|
||||
localStorage.setItem("savefolder", arg);
|
||||
});
|
||||
ipc.on('font-list', function (event, arg) {
|
||||
fontList(arg)
|
||||
postMessage(["fontList", arg], "*")
|
||||
});
|
||||
ipc.on('customSoundRender', function (event, args) {
|
||||
customSoundSave(args[0], args[1])
|
||||
postMessage(["customSoundSave", [args[0], args[1]]], "*")
|
||||
});
|
||||
ipc.on('theme-json-list-response', function (event, args) {
|
||||
ctLoadCore(args)
|
||||
postMessage(["ctLoadCore", args], "*")
|
||||
});
|
||||
ipc.on('theme-json-delete-complete', function (event, args) {
|
||||
ctLoad()
|
||||
postMessage(["ctLoad", ""], "*")
|
||||
});
|
||||
ipc.on('theme-json-response', function (event, args) {
|
||||
customConnect(args)
|
||||
postMessage(["customConnect", args], "*")
|
||||
});
|
||||
ipc.on('theme-json-create-complete', function (event, args) {
|
||||
clearCustomImport()
|
||||
ctLoad()
|
||||
postMessage(["clearCustomImport", ""], "*")
|
||||
postMessage(["ctLoad", ""], "*")
|
||||
});
|
||||
//spotify.js
|
||||
ipc.once('itunes-np', function (event, arg) {
|
||||
npCore(arg)
|
||||
postMessage(["npCore", arg], "*")
|
||||
})
|
||||
//tips.js
|
||||
ipc.on('memory', function (event, arg) {
|
||||
var use = arg[0];
|
||||
var cpu = arg[1];
|
||||
var total = arg[2]
|
||||
renderMem(use, cpu, total)
|
||||
postMessage(["renderMem", [use, cpu, total]], "*")
|
||||
})
|
||||
//update.html
|
||||
ipc.on('prog', function (event, arg) {
|
||||
updateProg(arg)
|
||||
postMessage(["updateProg", arg], "*")
|
||||
})
|
||||
ipc.on('mess', function (event, arg) {
|
||||
updateMess(arg)
|
||||
postMessage(["updateMess", arg], "*")
|
||||
})
|
||||
//about.html
|
||||
ipc.on('aboutDataRender', function (event, arg) {
|
||||
renderAbout(arg)
|
||||
postMessage(["renderAbout", arg], "*")
|
||||
})
|
||||
var webviewDom = document.getElementById('webview');
|
||||
if (webviewDom) {
|
||||
|
|
|
@ -712,7 +712,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||
}
|
||||
if (toot.pinned) {
|
||||
var if_pin = "blue-text";
|
||||
var pin_app = "pinned";
|
||||
var pin_app = "pinnedToot";
|
||||
} else {
|
||||
var if_pin = "";
|
||||
var pin_app = "";
|
||||
|
|
|
@ -364,8 +364,6 @@ function addselCk() {
|
|||
function removeColumn(tlid) {
|
||||
$("#sort-box").addClass("hide");
|
||||
$("#sort-box").removeClass("show");
|
||||
var multi = localStorage.getItem("column");
|
||||
var obj = JSON.parse(multi);
|
||||
//聞く
|
||||
postMessage(["columnDel", tlid], "*")
|
||||
}
|
||||
|
|
|
@ -19,13 +19,13 @@ function dl(mainWindow, lang_path, base, dirname) {
|
|||
webviewTag: false,
|
||||
nodeIntegration: false,
|
||||
contextIsolation: true,
|
||||
preload: "../js/platform/preload.js"
|
||||
preload: join(dirname,"js", "platform", "preload.js")
|
||||
},
|
||||
width: 600,
|
||||
height: 400,
|
||||
"transparent": false, // ウィンドウの背景を透過
|
||||
"frame": false, // 枠の無いウィンドウ
|
||||
"resizable": false,
|
||||
"frame": true, // 枠の無いウィンドウ
|
||||
"resizable": true,
|
||||
"modal": true
|
||||
});
|
||||
var lang = fs.readFileSync(lang_path, 'utf8');
|
||||
|
@ -44,7 +44,7 @@ function dl(mainWindow, lang_path, base, dirname) {
|
|||
const opts = {
|
||||
directory: dir,
|
||||
openFolderWhenDone: true,
|
||||
onProgress: function (e) {
|
||||
onProgress: function (event) {
|
||||
e.sender.webContents.send('prog', e);
|
||||
},
|
||||
saveAs: false
|
||||
|
@ -91,7 +91,7 @@ function dl(mainWindow, lang_path, base, dirname) {
|
|||
}
|
||||
|
||||
|
||||
ipc.on('general-dl', (e, args) => {
|
||||
ipc.on('general-dl', (event, args) => {
|
||||
|
||||
var name = "";
|
||||
var platform = process.platform;
|
||||
|
@ -110,14 +110,14 @@ function dl(mainWindow, lang_path, base, dirname) {
|
|||
filename: name,
|
||||
openFolderWhenDone: false,
|
||||
onProgress: function (e) {
|
||||
e.sender.webContents.send('general-dl-prog', e);
|
||||
event.sender.webContents.send('general-dl-prog', e);
|
||||
},
|
||||
saveAs: false
|
||||
};
|
||||
download(BrowserWindow.getFocusedWindow(),
|
||||
args[0], opts)
|
||||
.then(dl => {
|
||||
e.sender.webContents.send('general-dl-message', dir);
|
||||
event.sender.webContents.send('general-dl-message', dir);
|
||||
})
|
||||
.catch(console.error);
|
||||
});
|
||||
|
|
|
@ -42,7 +42,7 @@ function system(mainWindow, dir, lang, dirname) {
|
|||
});
|
||||
//プラットフォーム
|
||||
ipc.on('getPlatform', function (e, arg) {
|
||||
e.sender.webContents.send('platform', process.platform);
|
||||
e.sender.webContents.send('platform', [process.platform, process.arch]);
|
||||
})
|
||||
//言語
|
||||
ipc.on('lang', function (e, arg) {
|
||||
|
@ -120,7 +120,7 @@ function system(mainWindow, dir, lang, dirname) {
|
|||
{ name: 'All', extensions: ['*'] },
|
||||
]
|
||||
}, (fileNames) => {
|
||||
e.sender.webContents.send('customSoundRender', [key, fileNames[0]]);
|
||||
e.sender.webContents.send('customSoundRender', [arg, fileNames[0]]);
|
||||
});
|
||||
})
|
||||
|
||||
|
@ -166,8 +166,7 @@ function system(mainWindow, dir, lang, dirname) {
|
|||
return "true"
|
||||
}
|
||||
ipc.on('column-del', (e, tlid) => {
|
||||
|
||||
console.log(lang);
|
||||
console.log(tlid);
|
||||
var options = language.delsel(lang)
|
||||
dialog.showMessageBox(options, function (index) {
|
||||
e.sender.webContents.send('column-del-reply', [index, tlid]);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "thedesk",
|
||||
"version": "18.5.1",
|
||||
"version": "18.6.0",
|
||||
"description": "TheDesk is a Mastodon client for PC.",
|
||||
"repository": "https://github.com/cutls/TheDesk",
|
||||
"main": "main.js",
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<script type="text/javascript" src="../../js/common/modal.js"></script>
|
||||
<script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script>
|
||||
<script>
|
||||
var ver = "Usamin (18.5.1)";
|
||||
var ver = "Usamin (18.6.0)";
|
||||
//betaを入れるとバージョンチェックしない
|
||||
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
||||
//var ver="beta";
|
||||
|
@ -676,17 +676,15 @@
|
|||
<a href="https://thedesk.top" target="_blank">HP</a><br>
|
||||
<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br>
|
||||
<br>
|
||||
<div id="release-Usamin_18-5-1" class="release-do" style="display:none; ">
|
||||
<div id="release-Usamin_18-6-0" class="release-do" style="display:none; ">
|
||||
<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br>
|
||||
<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br>
|
||||
Pixiv Fanboxでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。最低月一更新。<br>
|
||||
困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。
|
||||
<h5>Release Note Usamin (18.5.1)</h5>
|
||||
・Misskeyの投稿範囲に関する不具合修正<br>
|
||||
・絵文字に関する不具合修正<br>
|
||||
・要らんところに通知フィルターボタンが出ていた。<br>
|
||||
・というか通知フィルターが動かなかった。<br>
|
||||
・支援をお願いするダイアログが1か月に1回出ます。ご理解のほどよろしくお願いいたします。<br>
|
||||
<h5>Release Note Usamin (18.6.0)</h5>
|
||||
・アカウント選択のデザイン修正。クリック直後に閉じてしまうバグを修正。<br>
|
||||
・投票済みのアンケートについて修正。<br>
|
||||
・<b>セキュリティの大幅な強化。</b>
|
||||
<br>
|
||||
<h5>ThinkingDeskラベル</h5>
|
||||
<img src="../../img/thinkingdesk.png" style="width:100px;" draggable="false"><br>
|
||||
|
|
|
@ -331,32 +331,32 @@
|
|||
<h5>NowPlaying Provider(Windows)</h5>
|
||||
macOS and Linux are not supported. AIMP and iTunes were checked by developer. <br>CAD:foobar2000, MusicBee,J. River Media Center, Media Jukebox<br>WLM:Last.fm Client, TTPlayer, OpenPandora, Zune.<br> For foobar2000, <a href="http://poiru.github.com/foo-cad/">foo_cad plugin</a> is required. And MusicBee requires CAD.<br>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<span>AIMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<span>iTunes</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="npmm"
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="npmm"
|
||||
value="MEDIAMONKEY" />
|
||||
<span>MediaMonkey</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<span>Winamp</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<span>WMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<span>WLM</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<span>CAD</span>
|
||||
</label>
|
||||
<br><br>
|
||||
|
@ -381,11 +381,11 @@
|
|||
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">Save</button>
|
||||
<h5>Attach an Artwork of Spotify</h5>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<span>Yes</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<span>No</span>
|
||||
</label>
|
||||
|
||||
|
|
|
@ -142,8 +142,7 @@
|
|||
$("#dlnow").toggleClass("hide");
|
||||
$("#dlnow").toggleClass("show");
|
||||
$("#prog").text("");
|
||||
var remote = electron.remote;
|
||||
var bit = process.arch;
|
||||
var bit = localStorage.getItem("bit");
|
||||
var start = "https://thedesk.top/ver.json";
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
|
@ -200,9 +199,8 @@
|
|||
$("#prog").text(arg);
|
||||
}
|
||||
function verck() {
|
||||
var remote = electron.remote;
|
||||
var platform = remote.process.platform;
|
||||
var bit = process.arch;
|
||||
var platform = localStorage.getItem("platform");
|
||||
var bit = localStorage.getItem("bit");
|
||||
if (platform == "win32") {
|
||||
$('.windows').removeClass("hide")
|
||||
} else if (platform == "linux") {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<script type="text/javascript" src="../../js/common/modal.js"></script>
|
||||
<script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script>
|
||||
<script>
|
||||
var ver = "Usamin (18.5.1)";
|
||||
var ver = "Usamin (18.6.0)";
|
||||
//betaを入れるとバージョンチェックしない
|
||||
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
||||
//var ver="beta";
|
||||
|
@ -676,17 +676,15 @@
|
|||
<a href="https://thedesk.top" target="_blank">HP</a><br>
|
||||
<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br>
|
||||
<br>
|
||||
<div id="release-Usamin_18-5-1" class="release-do" style="display:none; ">
|
||||
<div id="release-Usamin_18-6-0" class="release-do" style="display:none; ">
|
||||
<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br>
|
||||
<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br>
|
||||
Pixiv Fanboxでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。最低月一更新。<br>
|
||||
困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。
|
||||
<h5>Release Note Usamin (18.5.1)</h5>
|
||||
・Misskeyの投稿範囲に関する不具合修正<br>
|
||||
・絵文字に関する不具合修正<br>
|
||||
・要らんところに通知フィルターボタンが出ていた。<br>
|
||||
・というか通知フィルターが動かなかった。<br>
|
||||
・支援をお願いするダイアログが1か月に1回出ます。ご理解のほどよろしくお願いいたします。<br>
|
||||
<h5>Release Note Usamin (18.6.0)</h5>
|
||||
・アカウント選択のデザイン修正。クリック直後に閉じてしまうバグを修正。<br>
|
||||
・投票済みのアンケートについて修正。<br>
|
||||
・<b>セキュリティの大幅な強化。</b>
|
||||
<br>
|
||||
<h5>ThinkingDeskラベル</h5>
|
||||
<img src="../../img/thinkingdesk.png" style="width:100px;" draggable="false"><br>
|
||||
|
|
|
@ -331,32 +331,32 @@
|
|||
<h5>NowPlayingのソース(Windows)</h5>
|
||||
macOSやLinuxでは動作しません。AIMPとiTunes以外未検証です。<br>foobar2000, MusicBee,J. River Media Center, Media JukeboxはCADを、Last.fm Client, TTPlayer, OpenPandora, ZuneはWLMを選んでください。<br>ただし、foobar2000は<a href="http://poiru.github.com/foo-cad/">foo_cad plugin</a>が必要です。MusicBeeもCADを有効にする必要があります。<br>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<span>AIMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<span>iTunes</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="npmm"
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="npmm"
|
||||
value="MEDIAMONKEY" />
|
||||
<span>MediaMonkey</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<span>Winamp</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<span>WMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<span>WLM</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<span>CAD</span>
|
||||
</label>
|
||||
<br><br>
|
||||
|
@ -381,11 +381,11 @@
|
|||
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">設定</button>
|
||||
<h5>アルバムアートワークを添付する(Spotify/Windows)</h5>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<span>はい</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<span>いいえ</span>
|
||||
</label>
|
||||
|
||||
|
|
|
@ -142,8 +142,7 @@
|
|||
$("#dlnow").toggleClass("hide");
|
||||
$("#dlnow").toggleClass("show");
|
||||
$("#prog").text("");
|
||||
var remote = electron.remote;
|
||||
var bit = process.arch;
|
||||
var bit = localStorage.getItem("bit");
|
||||
var start = "https://thedesk.top/ver.json";
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
|
@ -200,9 +199,8 @@
|
|||
$("#prog").text(arg);
|
||||
}
|
||||
function verck() {
|
||||
var remote = electron.remote;
|
||||
var platform = remote.process.platform;
|
||||
var bit = process.arch;
|
||||
var platform = localStorage.getItem("platform");
|
||||
var bit = localStorage.getItem("bit");
|
||||
if (platform == "win32") {
|
||||
$('.windows').removeClass("hide")
|
||||
} else if (platform == "linux") {
|
||||
|
|
|
@ -676,17 +676,15 @@
|
|||
<a href="https://thedesk.top" target="_blank">HP</a><br>
|
||||
<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br>
|
||||
<br>
|
||||
<div id="release-Usamin_18-5-1" class="release-do" style="display:none; ">
|
||||
<div id="release-Usamin_18-6-0" class="release-do" style="display:none; ">
|
||||
<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br>
|
||||
<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br>
|
||||
Pixiv Fanboxでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。最低月一更新。<br>
|
||||
困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。
|
||||
<h5>Release Note Usamin (18.5.1)</h5>
|
||||
・Misskeyの投稿範囲に関する不具合修正<br>
|
||||
・絵文字に関する不具合修正<br>
|
||||
・要らんところに通知フィルターボタンが出ていた。<br>
|
||||
・というか通知フィルターが動かなかった。<br>
|
||||
・支援をお願いするダイアログが1か月に1回出ます。ご理解のほどよろしくお願いいたします。<br>
|
||||
<h5>Release Note Usamin (18.6.0)</h5>
|
||||
・アカウント選択のデザイン修正。クリック直後に閉じてしまうバグを修正。<br>
|
||||
・投票済みのアンケートについて修正。<br>
|
||||
・<b>セキュリティの大幅な強化。</b>
|
||||
<br>
|
||||
<h5>ThinkingDeskラベル</h5>
|
||||
<img src="../../img/thinkingdesk.png" style="width:100px;" draggable="false"><br>
|
||||
|
|
|
@ -2,7 +2,7 @@ const fs = require("fs")
|
|||
const readlineSync = require('readline-sync');
|
||||
let ver = readlineSync.question('version string (empty: default string)? ');
|
||||
if (!ver) {
|
||||
ver = "Usamin (18.5.1)"
|
||||
ver = "Usamin (18.6.0)"
|
||||
}
|
||||
console.log("Constructing view files " + ver + ": make sure to update package.json")
|
||||
const langs = ["ja", "en", "ps"]
|
||||
|
|
|
@ -331,32 +331,32 @@
|
|||
<h5>@@npProvider@@</h5>
|
||||
@@npPeoviderWarn@@<br>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<span>AIMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<span>iTunes</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="npmm"
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="npmm"
|
||||
value="MEDIAMONKEY" />
|
||||
<span>MediaMonkey</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<span>Winamp</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<span>WMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<span>WLM</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<span>CAD</span>
|
||||
</label>
|
||||
<br><br>
|
||||
|
@ -381,11 +381,11 @@
|
|||
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">@@set@@</button>
|
||||
<h5>@@postartwork@@</h5>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<span>@@yes@@</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<span>@@no@@</span>
|
||||
</label>
|
||||
|
||||
|
|
|
@ -142,8 +142,7 @@
|
|||
$("#dlnow").toggleClass("hide");
|
||||
$("#dlnow").toggleClass("show");
|
||||
$("#prog").text("");
|
||||
var remote = electron.remote;
|
||||
var bit = process.arch;
|
||||
var bit = localStorage.getItem("bit");
|
||||
var start = "https://thedesk.top/ver.json";
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
|
@ -200,9 +199,8 @@
|
|||
$("#prog").text(arg);
|
||||
}
|
||||
function verck() {
|
||||
var remote = electron.remote;
|
||||
var platform = remote.process.platform;
|
||||
var bit = process.arch;
|
||||
var platform = localStorage.getItem("platform");
|
||||
var bit = localStorage.getItem("bit");
|
||||
if (platform == "win32") {
|
||||
$('.windows').removeClass("hide")
|
||||
} else if (platform == "linux") {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<script type="text/javascript" src="../../js/common/modal.js"></script>
|
||||
<script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script>
|
||||
<script>
|
||||
var ver = "Usamin (18.5.1)";
|
||||
var ver = "Usamin (18.6.0)";
|
||||
//betaを入れるとバージョンチェックしない
|
||||
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
||||
//var ver="beta";
|
||||
|
@ -676,17 +676,15 @@
|
|||
<a href="https://thedesk.top" target="_blank">HP</a><br>
|
||||
<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br>
|
||||
<br>
|
||||
<div id="release-Usamin_18-5-1" class="release-do" style="display:none; ">
|
||||
<div id="release-Usamin_18-6-0" class="release-do" style="display:none; ">
|
||||
<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br>
|
||||
<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br>
|
||||
Pixiv Fanboxでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。最低月一更新。<br>
|
||||
困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。
|
||||
<h5>Release Note Usamin (18.5.1)</h5>
|
||||
・Misskeyの投稿範囲に関する不具合修正<br>
|
||||
・絵文字に関する不具合修正<br>
|
||||
・要らんところに通知フィルターボタンが出ていた。<br>
|
||||
・というか通知フィルターが動かなかった。<br>
|
||||
・支援をお願いするダイアログが1か月に1回出ます。ご理解のほどよろしくお願いいたします。<br>
|
||||
<h5>Release Note Usamin (18.6.0)</h5>
|
||||
・アカウント選択のデザイン修正。クリック直後に閉じてしまうバグを修正。<br>
|
||||
・投票済みのアンケートについて修正。<br>
|
||||
・<b>セキュリティの大幅な強化。</b>
|
||||
<br>
|
||||
<h5>ThinkingDeskラベル</h5>
|
||||
<img src="../../img/thinkingdesk.png" style="width:100px;" draggable="false"><br>
|
||||
|
|
|
@ -331,32 +331,32 @@
|
|||
<h5>crwdns2354:0crwdne2354:0</h5>
|
||||
crwdns2356:0crwdne2356:0<br>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" />
|
||||
<span>AIMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" />
|
||||
<span>iTunes</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="npmm"
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="npmm"
|
||||
value="MEDIAMONKEY" />
|
||||
<span>MediaMonkey</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="winamp" value="WINAMP" />
|
||||
<span>Winamp</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wmp" value="WMP" />
|
||||
<span>WMP</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="wlm" value="WLM" />
|
||||
<span>WLM</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" />
|
||||
<span>CAD</span>
|
||||
</label>
|
||||
<br><br>
|
||||
|
@ -381,11 +381,11 @@
|
|||
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button>
|
||||
<h5>crwdns635:0crwdne635:0</h5>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" />
|
||||
<span>crwdns526:0crwdne526:0</span>
|
||||
</label>
|
||||
<label>
|
||||
<input class="with-gap" onchange="settings()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" />
|
||||
<span>crwdns527:0crwdne527:0</span>
|
||||
</label>
|
||||
|
||||
|
|
|
@ -142,8 +142,7 @@
|
|||
$("#dlnow").toggleClass("hide");
|
||||
$("#dlnow").toggleClass("show");
|
||||
$("#prog").text("");
|
||||
var remote = electron.remote;
|
||||
var bit = process.arch;
|
||||
var bit = localStorage.getItem("bit");
|
||||
var start = "https://thedesk.top/ver.json";
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
|
@ -200,9 +199,8 @@
|
|||
$("#prog").text(arg);
|
||||
}
|
||||
function verck() {
|
||||
var remote = electron.remote;
|
||||
var platform = remote.process.platform;
|
||||
var bit = process.arch;
|
||||
var platform = localStorage.getItem("platform");
|
||||
var bit = localStorage.getItem("bit");
|
||||
if (platform == "win32") {
|
||||
$('.windows').removeClass("hide")
|
||||
} else if (platform == "linux") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user