TheDesk Miria (17.1.1)
This commit is contained in:
parent
412791975c
commit
5b699c1775
|
@ -13,6 +13,7 @@ before_deploy:
|
||||||
- electron-builder --win --x64
|
- electron-builder --win --x64
|
||||||
- mv ../build/TheDesk-setup.exe ../TheDesk-setup.exe
|
- mv ../build/TheDesk-setup.exe ../TheDesk-setup.exe
|
||||||
- mv ../build/TheDesk*.exe ../TheDesk.exe
|
- mv ../build/TheDesk*.exe ../TheDesk.exe
|
||||||
|
- mv ../build/TheDesk*.appx ../TheDesk.appx
|
||||||
- cd ../
|
- cd ../
|
||||||
- ls
|
- ls
|
||||||
after_deploy: ls
|
after_deploy: ls
|
||||||
|
@ -26,6 +27,7 @@ deploy:
|
||||||
- TheDesk-setup.exe
|
- TheDesk-setup.exe
|
||||||
- TheDesk-ia32.exe
|
- TheDesk-ia32.exe
|
||||||
- TheDesk-setup-ia32.exe
|
- TheDesk-setup-ia32.exe
|
||||||
|
- TheDesk.appx
|
||||||
on:
|
on:
|
||||||
repo: cutls/TheDesk
|
repo: cutls/TheDesk
|
||||||
branches:
|
branches:
|
||||||
|
|
|
@ -16,7 +16,32 @@ function verck(ver,winstore) {
|
||||||
$("#release-"+verp).show();
|
$("#release-"+verp).show();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
var name="Web";
|
||||||
|
var electron = require("electron");
|
||||||
|
var remote=electron.remote;
|
||||||
|
var dialog=remote.dialog;
|
||||||
|
const options = {
|
||||||
|
type: 'info',
|
||||||
|
title: "Select your platform",
|
||||||
|
message: lang.lang_version_platform,
|
||||||
|
buttons: [lang.lang_no,lang.lang_yesno]
|
||||||
|
}
|
||||||
|
var platform=remote.process.platform;
|
||||||
|
if(platform=="win32"){
|
||||||
|
console.log(localStorage.getItem("winstore"))
|
||||||
|
if(!localStorage.getItem("winstore")){
|
||||||
|
|
||||||
|
dialog.showMessageBox(options, function(arg) {
|
||||||
|
if(arg==1){
|
||||||
|
localStorage.setItem("winstore","winstore")
|
||||||
|
}else{
|
||||||
|
localStorage.setItem("winstore","localinstall")
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
localStorage.setItem("winstore","unix")
|
||||||
|
}
|
||||||
var l = 5;
|
var l = 5;
|
||||||
// 生成する文字列に含める文字セット
|
// 生成する文字列に含める文字セット
|
||||||
var c = "abcdefghijklmnopqrstuvwxyz0123456789";
|
var c = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||||||
|
|
|
@ -21,6 +21,7 @@ var lang={
|
||||||
//common/version.js
|
//common/version.js
|
||||||
"lang_version_usever":"No update is found({{ver}})",
|
"lang_version_usever":"No update is found({{ver}})",
|
||||||
"lang_version_skipver":"Update was ignored.",
|
"lang_version_skipver":"Update was ignored.",
|
||||||
|
"lang_version_platform":"Was this software installed at Microsoft Store? When select 'yes', any update was ignored.",
|
||||||
//login
|
//login
|
||||||
//login/login.js
|
//login/login.js
|
||||||
"lang_login_noauth":"Show TL of unlogined accounts",
|
"lang_login_noauth":"Show TL of unlogined accounts",
|
||||||
|
|
|
@ -22,6 +22,7 @@ var lang={
|
||||||
//common/version.js
|
//common/version.js
|
||||||
"lang_version_usever":"お使いのバージョン{{ver}}は最新です。",
|
"lang_version_usever":"お使いのバージョン{{ver}}は最新です。",
|
||||||
"lang_version_skipver":"アップデートはスキップされました。",
|
"lang_version_skipver":"アップデートはスキップされました。",
|
||||||
|
"lang_version_platform":"このソフトウェアはMicrosoft Storeからダウンロードされましたか?(「はい」を選択すると次回からアップデート通知を無視します。)",
|
||||||
//login
|
//login
|
||||||
//login/login.js
|
//login/login.js
|
||||||
"lang_login_noauth":"認証せずに見る",
|
"lang_login_noauth":"認証せずに見る",
|
||||||
|
|
|
@ -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,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "thedesk",
|
"name": "thedesk",
|
||||||
"version": "17.0.2",
|
"version": "17.1.1",
|
||||||
"description": "TheDesk is a Mastodon client for PC.",
|
"description": "TheDesk is a Mastodon client for PC.",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -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="Miria (17.1.0) beta1";
|
var ver="Miria (17.1.1)";
|
||||||
//betaを入れるとバージョンチェックしない
|
//betaを入れるとバージョンチェックしない
|
||||||
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
||||||
//var ver="beta";
|
//var ver="beta";
|
||||||
|
|
|
@ -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="Miria (17.1.0) beta1";
|
var ver="Miria (17.1.1)";
|
||||||
//betaを入れるとバージョンチェックしない
|
//betaを入れるとバージョンチェックしない
|
||||||
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
||||||
//var ver="beta";
|
//var ver="beta";
|
||||||
|
|
|
@ -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="Miria (17.1.0) beta1";
|
var ver="Miria (17.1.1)";
|
||||||
//betaを入れるとバージョンチェックしない
|
//betaを入れるとバージョンチェックしない
|
||||||
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
|
||||||
//var ver="beta";
|
//var ver="beta";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user