TheDesk Usain (18.1.2)

This commit is contained in:
Cutls 2019-03-29 02:12:25 +09:00
parent 7556e5560d
commit 4aa14a14a2
7 changed files with 43 additions and 59 deletions

View File

@ -32,7 +32,7 @@
<script type="text/javascript" src="../../js/common/modal.js"></script> <script type="text/javascript" src="../../js/common/modal.js"></script>
<script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script> <script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script>
<script> <script>
var ver="Usamin (18.1.1)"; var ver="Usamin (18.1.2)";
//betaを入れるとバージョンチェックしない //betaを入れるとバージョンチェックしない
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html) //GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
//var ver="beta"; //var ver="beta";

View File

@ -62,9 +62,6 @@ a,button,input,label,i{
#prog{ #prog{
font-size:200%; font-size:200%;
} }
.linux, .mac{
display:none;
}
</style> </style>
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
@ -78,11 +75,10 @@ a,button,input,label,i{
<p>Get latest TheDesk</p> <p>Get latest TheDesk</p>
<span id="now"></span><b id="ver"></b><br> <span id="now"></span><b id="ver"></b><br>
<span id="det"></span><br> <span id="det"></span><br>
<button class="waves-effect btn windows" onclick="update('install')" style="margin-left:15px;">Installer ver.</button> <button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">Installer ver.</button>
<button class="waves-effect btn windows" onclick="update('portable')" style="margin-left:15px;">Portable ver.</button> <button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">Portable ver.</button>
<span class="linux">Snap ver may be on Snapcraft<br></span> <button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">Start</button>
<button class="waves-effect btn linux" onclick="update('linux')" style="margin-left:15px;">Start</button> <button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">Start</button>
<button class="waves-effect btn mac" onclick="update('mac')" style="margin-left:15px;">Start</button>
<br> <br>
Some problems?<br>Please download on <a href="https://thedesk.top">Oficial HP</a>. Some problems?<br>Please download on <a href="https://thedesk.top">Oficial HP</a>.
</div> </div>
@ -184,12 +180,12 @@ function verck(){
var remote=electron.remote; var remote=electron.remote;
var platform=remote.process.platform; var platform=remote.process.platform;
var bit=process.arch; var bit=process.arch;
if(platform=="linux"){ if(platform=="win32"){
$('.windows').hide() $('.windows').removeClass("hide")
$('.linux').show() }else if(platform=="linux"){
}else if(platform=="mac"){ $('.linux').removeClass("hide")
$('.windows').hide() }else if(platform=="darwin"){
$('.mac').show() $('.mac').removeClass("hide")
} }
var start="https://thedesk.top/ver.json"; var start="https://thedesk.top/ver.json";
fetch(start, { fetch(start, {

View File

@ -32,7 +32,7 @@
<script type="text/javascript" src="../../js/common/modal.js"></script> <script type="text/javascript" src="../../js/common/modal.js"></script>
<script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script> <script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script>
<script> <script>
var ver="Usamin (18.1.1)"; var ver="Usamin (18.1.2)";
//betaを入れるとバージョンチェックしない //betaを入れるとバージョンチェックしない
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html) //GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
//var ver="beta"; //var ver="beta";

View File

@ -62,9 +62,6 @@ a,button,input,label,i{
#prog{ #prog{
font-size:200%; font-size:200%;
} }
.linux, .mac{
display:none;
}
</style> </style>
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
@ -78,11 +75,10 @@ a,button,input,label,i{
<p>アップデートがあります</p> <p>アップデートがあります</p>
<span id="now"></span><b id="ver"></b><br> <span id="now"></span><b id="ver"></b><br>
<span id="det"></span><br> <span id="det"></span><br>
<button class="waves-effect btn windows" onclick="update('install')" style="margin-left:15px;">インストーラー版(推奨)</button> <button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">インストーラー版(推奨)</button>
<button class="waves-effect btn windows" onclick="update('portable')" style="margin-left:15px;">ポータブル版</button> <button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">ポータブル版</button>
<span class="linux">snap版はSnapcraft等よりDLしてください。<br></span> <button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">開始</button>
<button class="waves-effect btn linux" onclick="update('linux')" style="margin-left:15px;">開始</button> <button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">開始</button>
<button class="waves-effect btn mac" onclick="update('mac')" style="margin-left:15px;">開始</button>
<br> <br>
問題が発生しますか?<br><a href="https://thedesk.top">公式HP</a>からダウンロードをお試しください。 問題が発生しますか?<br><a href="https://thedesk.top">公式HP</a>からダウンロードをお試しください。
</div> </div>
@ -184,12 +180,12 @@ function verck(){
var remote=electron.remote; var remote=electron.remote;
var platform=remote.process.platform; var platform=remote.process.platform;
var bit=process.arch; var bit=process.arch;
if(platform=="linux"){ if(platform=="win32"){
$('.windows').hide() $('.windows').removeClass("hide")
$('.linux').show() }else if(platform=="linux"){
}else if(platform=="mac"){ $('.linux').removeClass("hide")
$('.windows').hide() }else if(platform=="darwin"){
$('.mac').show() $('.mac').removeClass("hide")
} }
var start="https://thedesk.top/ver.json"; var start="https://thedesk.top/ver.json";
fetch(start, { fetch(start, {

View File

@ -62,9 +62,6 @@ a,button,input,label,i{
#prog{ #prog{
font-size:200%; font-size:200%;
} }
.linux, .mac{
display:none;
}
</style> </style>
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
@ -78,11 +75,10 @@ a,button,input,label,i{
<p>{{updatehere}}</p> <p>{{updatehere}}</p>
<span id="now"></span><b id="ver"></b><br> <span id="now"></span><b id="ver"></b><br>
<span id="det"></span><br> <span id="det"></span><br>
<button class="waves-effect btn windows" onclick="update('install')" style="margin-left:15px;">{{installer}}</button> <button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">{{installer}}</button>
<button class="waves-effect btn windows" onclick="update('portable')" style="margin-left:15px;">{{portable}}</button> <button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">{{portable}}</button>
<span class="linux">{{snap}}<br></span> <button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">{{download}}</button>
<button class="waves-effect btn linux" onclick="update('linux')" style="margin-left:15px;">{{download}}</button> <button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">{{download}}</button>
<button class="waves-effect btn mac" onclick="update('mac')" style="margin-left:15px;">{{download}}</button>
<br> <br>
{{problem1}}<br>{{problem2}} {{problem1}}<br>{{problem2}}
</div> </div>
@ -184,12 +180,12 @@ function verck(){
var remote=electron.remote; var remote=electron.remote;
var platform=remote.process.platform; var platform=remote.process.platform;
var bit=process.arch; var bit=process.arch;
if(platform=="linux"){ if(platform=="win32"){
$('.windows').hide() $('.windows').removeClass("hide")
$('.linux').show() }else if(platform=="linux"){
}else if(platform=="mac"){ $('.linux').removeClass("hide")
$('.windows').hide() }else if(platform=="darwin"){
$('.mac').show() $('.mac').removeClass("hide")
} }
var start="https://thedesk.top/ver.json"; var start="https://thedesk.top/ver.json";
fetch(start, { fetch(start, {

View File

@ -32,7 +32,7 @@
<script type="text/javascript" src="../../js/common/modal.js"></script> <script type="text/javascript" src="../../js/common/modal.js"></script>
<script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script> <script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script>
<script> <script>
var ver="Usamin (18.1.1)"; var ver="Usamin (18.1.2)";
//betaを入れるとバージョンチェックしない //betaを入れるとバージョンチェックしない
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html) //GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
//var ver="beta"; //var ver="beta";

View File

@ -62,9 +62,6 @@ a,button,input,label,i{
#prog{ #prog{
font-size:200%; font-size:200%;
} }
.linux, .mac{
display:none;
}
</style> </style>
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
@ -78,11 +75,10 @@ a,button,input,label,i{
<p>crwdns669:0crwdne669:0</p> <p>crwdns669:0crwdne669:0</p>
<span id="now"></span><b id="ver"></b><br> <span id="now"></span><b id="ver"></b><br>
<span id="det"></span><br> <span id="det"></span><br>
<button class="waves-effect btn windows" onclick="update('install')" style="margin-left:15px;">crwdns2382:0crwdne2382:0</button> <button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">crwdns2382:0crwdne2382:0</button>
<button class="waves-effect btn windows" onclick="update('portable')" style="margin-left:15px;">crwdns1950:0crwdne1950:0</button> <button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">crwdns1950:0crwdne1950:0</button>
<span class="linux">crwdns2384:0crwdne2384:0<br></span> <button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">crwdns670:0crwdne670:0</button>
<button class="waves-effect btn linux" onclick="update('linux')" style="margin-left:15px;">crwdns670:0crwdne670:0</button> <button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">crwdns670:0crwdne670:0</button>
<button class="waves-effect btn mac" onclick="update('mac')" style="margin-left:15px;">crwdns670:0crwdne670:0</button>
<br> <br>
crwdns678:0crwdne678:0<br>crwdns679:0crwdne679:0 crwdns678:0crwdne678:0<br>crwdns679:0crwdne679:0
</div> </div>
@ -184,12 +180,12 @@ function verck(){
var remote=electron.remote; var remote=electron.remote;
var platform=remote.process.platform; var platform=remote.process.platform;
var bit=process.arch; var bit=process.arch;
if(platform=="linux"){ if(platform=="win32"){
$('.windows').hide() $('.windows').removeClass("hide")
$('.linux').show() }else if(platform=="linux"){
}else if(platform=="mac"){ $('.linux').removeClass("hide")
$('.windows').hide() }else if(platform=="darwin"){
$('.mac').show() $('.mac').removeClass("hide")
} }
var start="https://thedesk.top/ver.json"; var start="https://thedesk.top/ver.json";
fetch(start, { fetch(start, {