TheDesk Miho (ver.9)

This commit is contained in:
cutls
2018-02-10 00:43:15 +09:00
parent fb546e23f3
commit eec72767c6
12 changed files with 43 additions and 13 deletions

View File

@@ -2,6 +2,7 @@
<html lang="ja">
<head>
<title>Account Manager - TheDesk</title>
<meta content="width=device-width,initial-scale=1.0" name="viewport">
<link href="./css/materialize.css" type="text/css" rel="stylesheet">
<link href="./css/master.css" type="text/css" rel="stylesheet">
<link href="./css/auth.css" type="text/css" rel="stylesheet">

View File

@@ -23,7 +23,7 @@
<script type="text/javascript" src="./js/common/keyshortcut.js"></script>
<script type="text/javascript" src="./js/common/modal.js"></script>
<script>
var ver="Miho (ver.8)";
var ver="Miho (ver.9)";
//betaを入れるとバージョンチェックしない
//var ver="beta";
var acct_id=0;
@@ -111,7 +111,7 @@ var tlid=0;
<a href="setting.html" class="setting nex"><i class="material-icons nex" title="設定">settings</i></a>
<a href="acct.html"><i class="material-icons nex" title="アカウント管理">account_circle</i></a>
<a href="index.html" class="setting nex"><i class="material-icons nex" title="スーパーリロード">refresh</i></a>
<a onclick="window.open('https://desk.cutls.com/labo.php');" class="setting nex" target="_blank" id="ranking-btn" style="display:none;"><i class="material-icons nex" title="アスタルテランキング">timeline</i></a>
<a onclick="window.open('https://thedesk.top/labo.php');" class="setting nex" target="_blank" id="ranking-btn" style="display:none;"><i class="material-icons nex" title="アスタルテランキング">timeline</i></a>
<div class="row" style="margin-bottom:0;">
<span class="sml"><span class="gray">画面内どこでもドラッグ・アンド・ドロップできます。</span><br></span>アカウント選択</span><br>
<div class="input-field">

View File

@@ -31,7 +31,7 @@ $(function($) {
if (event.ctrlKey) {
if (e.keyCode === 82) {
if(localStorage.getItem("kirishima")){
window.open("https://desk.cutls.com/labo.php");
window.open("https://thedesk.top/labo.php");
}
}
}

View File

@@ -1,7 +1,7 @@
//バージョンチェッカー
function verck(ver) {
localStorage.setItem("ver", ver);
var start = "https://desk.cutls.com/ver.json";
var start = "https://dl.thedesk.top/ver.json";
fetch(start, {
method: 'GET'
}).then(function(response) {

View File

@@ -30,7 +30,7 @@ function login(url) {
scopes: 'read write follow',
client_name: "TheDesk(PC)",
redirect_uris: 'urn:ietf:wg:oauth:2.0:oob',
website: "https://desk.cutls.com"
website: "https://thedesk.top"
})
}).then(function(response) {
return response.json();
@@ -149,7 +149,7 @@ function ckdb(acct_id) {
var at = localStorage.getItem(domain + "_at");
var bbcode = domain + "_bbcode";
var letters = domain + "_letters";
var start = "https://desk.cutls.com/mastodon_data.json";
var start = "https://dl.thedesk.top/mastodon_data.json";
fetch(start, {
method: 'GET',
headers: {
@@ -191,7 +191,7 @@ function ckdb(acct_id) {
//サポートインスタンス取得
function support() {
var start = "https://desk.cutls.com/mastodon_data.json";
var start = "https://dl.thedesk.top/mastodon_data.json";
fetch(start, {
method: 'GET',
headers: {

View File

@@ -85,7 +85,7 @@ ipc.on('download-btn', (e, args) => {
saveAs: args
};
download(BrowserWindow.getFocusedWindow(),
'https://deskdownload.8i9.me/TheDesk-win32-x64.zip', opts)
'https://dl.thedesk.top/TheDesk-win32-x64.zip', opts)
.then(dl => {
mainWindow.webContents.send('comp', "ダウンロードが完了しました。");
app.quit();

View File

@@ -1,6 +1,6 @@
{
"name": "TheDesk",
"version": "11.8.0",
"version": "11.9.0",
"description": "TheDesk on Mastodonはシンプルと多機能を両立したデスクトップ向けクライアントです",
"main": "main.js",
"scripts": {

View File

@@ -2,6 +2,7 @@
<html lang="ja">
<head>
<title>Settings - TheDesk</title>
<meta content="width=device-width,initial-scale=1.0" name="viewport">
<link href="./css/materialize.css" type="text/css" rel="stylesheet">
<link href="./css/master.css" type="text/css" rel="stylesheet">
<link href="./css/auth.css" type="text/css" rel="stylesheet">
@@ -130,7 +131,7 @@
<br>
<button class="btn waves-effect red" style="width:100%; max-width:500px;" onclick="if(confirm('初期化します')){ localStorage.clear(); location.href='index.html'; }">初期化</button><br>
<button class="btn waves-effect indigo" onclick="about()" style="width:100%; max-width:500px;">このソフトについて</button><br>
<a href="https://desk.cutls.com" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;">公式HP</a><br>
<a href="https://thedesk.top" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;">公式HP</a><br>
<a href="https://enty.jp/Cutls" class="btn waves-effect purple lighten-2" style="width:100%; max-width:500px;">寄付(Enty)</a><br>
<a href="https://github.com/cutls/TheDesk" class="btn waves-effect black lighten-2" style="width:100%; max-width:500px;">GitHub</a><br>