Add: GIt hash

This commit is contained in:
Cutls
2019-08-26 21:06:07 +09:00
parent 5007b70683
commit 46dbc9ae62
14 changed files with 47 additions and 25 deletions

View File

@@ -992,10 +992,10 @@
</div>
</div>
<div id="tips" class="hide">
<a onclick="tipsToggle()" class="nex waves-effect" style="float:left">
<a onclick="tipsToggle()" class="nex waves-effect">
<i class="material-icons nex" title="@@changeTips@@" data-trans-title="tips">bubble_chart</i>
</a>
<div id="tips-text" style="float:left; width:300px;"></div>
<div id="tips-text" style="width:300px;"></div>
</div>
</div>
</div>

View File

@@ -10,7 +10,7 @@
"nexttl":"Until next TL loading",
"nextver":"Until next version",
"problem1":"Some problems?",
"problem2":"Please download on <a href=\"https://thedesk.top\">Oficial HP</a>.",
"problem2":"Please download on <a href='https://thedesk.top'>Oficial HP</a>.",
"continue":"Continue updating",
"dlnow":"Downloading..."
}

View File

@@ -9,7 +9,7 @@
"nexttl":"次回TL表示時まで",
"nextver":"次のバージョンが出るまで",
"problem1":"問題が発生しますか?",
"problem2":"<a href=\"https://thedesk.top\">公式HP</a>からダウンロードをお試しください。",
"problem2":"<a href='https://thedesk.top'>公式HP</a>からダウンロードをお試しください。",
"continue":"アップデートを続行",
"dlnow":"ダウンロード中"
}

View File

@@ -43,6 +43,7 @@ for (let i = 0; i < samples.length; i++) {
}
source = source.replace(/@@versionLetter@@/g, ver)
source = source.replace(/@@gitHash@@/g, gitHash)
source = source.replace(/@@gitHashShort@@/g, gitHash.slice(0, 7))
source = source.replace(/@@lang@@/g, lang)
source = source.replace(/@@langlist@@/g, langstr)
fs.writeFileSync("../" + lang + "/" + pages[i], source)

View File

@@ -449,14 +449,16 @@
style="width:100%; max-width:500px;"><img src="../../img/desk_full.svg" class="left" width="25"
style="padding-top:5px;">Developer: Cutls@cutls.com</a>
<br>
TheDesk @ <a href="https://github.com/cutls/TheDesk/commits/@@gitHash@@">@@gitHash@@</a><br>
<br>
Kyash<br>
<img src="../../img/kyash.png" width="100"><br>
<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';"
class="pointer">@@checkup@@</a><br>
<a href="oss.html">OSS License@@ossJP@@</a><br>
<br>
<span style="font-family:Open Sans;">Copyright &copy; TheDesk 2018
Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a
href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy
Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a href="https://thedesk.top/priv.html">Privacy
Policy</a>
<br>Developer: Cutls P(
<a href="index.html?mode=user&code=Cutls@cutls.com">@Cutls@cutls.com</a>)

View File

@@ -178,7 +178,7 @@
}
} else if (sel == "mac") {
var url = json["mac"];
shell.openExternal(url);
postMessage(["openUrl", url], "*")
return false;
}
postMessage(["downloadButton", [url, file]], "*")