This commit is contained in:
cutls 2021-04-13 13:48:59 +09:00
parent 4e2f3ad68a
commit 83dee56266
3 changed files with 15 additions and 8 deletions

View File

@ -70,24 +70,31 @@ async function cmd() {
await build(Platform.WINDOWS, Arch.ia32, config) await build(Platform.WINDOWS, Arch.ia32, config)
fs.renameSync( fs.renameSync(
`../build/TheDesk ${version}.exe`, `../build/TheDesk ${version}.exe`,
'../build/TheDesk-ia32.exe' '../build/TheDesk-ia32-store.exe'
) )
fs.renameSync( fs.renameSync(
`../build/TheDesk-setup.exe`, `../build/TheDesk-setup.exe`,
'../build/TheDesk-setup-ia32.exe' '../build/TheDesk-setup-ia32-store.exe'
) )
} }
if (arch == 'x64') { if (arch == 'x64') {
await build(Platform.WINDOWS, Arch.x64, config) await build(Platform.WINDOWS, Arch.x64, config)
fs.renameSync( fs.renameSync(
`../build/TheDesk ${version}.exe`, `../build/TheDesk ${version}.exe`,
'../build/TheDesk.exe' '../build/TheDesk-store.exe'
)
fs.renameSync(
`../build/TheDesk-setup.exe`,
'../build/TheDesk-setup-ia32-store.exe'
) )
} }
} else if (platform == 'linux') { } else if (platform == 'linux') {
if ((isTrue('withIa32') && arch == 'x64') || arch == 'ia32') { if (arch == 'ia32') {
await build(Platform.LINUX, Arch.ia32, config) await build(Platform.LINUX, Arch.ia32, config)
} }
if ((isTrue('withIa32') && arch == 'x64') ) {
console.log('snapcraft does not curretly support builing i386 on amd64')
}
if (arch == 'x64') { if (arch == 'x64') {
await build(Platform.LINUX, Arch.x64, config) await build(Platform.LINUX, Arch.x64, config)
if (!isTrue('onlyStore')) { if (!isTrue('onlyStore')) {

View File

@ -25,8 +25,8 @@
<body class=""> <body class="">
<script> <script>
var ver = '22.1.1 (Koume)' var ver = '22.1.2 (Koume)'
var gitHash = '6ba75c93e470f11690b39bf2902e81401c6b3eb4' var gitHash = '4e2f3ad68a68c0b3c180d9106502d8324939b838'
//betaを入れるとバージョンチェックしない //betaを入れるとバージョンチェックしない
//var ver="beta"; //var ver="beta";
var acct_id = 0 var acct_id = 0

View File

@ -609,7 +609,7 @@
style="width:100%; max-width:40rem;"><img src="../../img/desk_full.svg" class="left" width="25" style="width:100%; max-width:40rem;"><img src="../../img/desk_full.svg" class="left" width="25"
style="padding-top:5px;">Main author: Cutls@cutls.com</a> style="padding-top:5px;">Main author: Cutls@cutls.com</a>
<br> <br>
TheDesk @ <a href="https://github.com/cutls/TheDesk/commits/6ba75c93e470f11690b39bf2902e81401c6b3eb4">6ba75c93e470f11690b39bf2902e81401c6b3eb4</a> - <a TheDesk @ <a href="https://github.com/cutls/TheDesk/commits/4e2f3ad68a68c0b3c180d9106502d8324939b838">4e2f3ad68a68c0b3c180d9106502d8324939b838</a> - <a
onclick="checkupd(); return localStorage.removeItem('new-ver-skip'); location.href='index.html';" onclick="checkupd(); return localStorage.removeItem('new-ver-skip'); location.href='index.html';"
class="pointer pwa">Sprawdź aktualizacje</a><br> class="pointer pwa">Sprawdź aktualizacje</a><br>
<br> <br>
@ -619,7 +619,7 @@
<img src="https://status.cutls.com/badge-service?site=thedesk.top"> <img src="https://status.cutls.com/badge-service?site=thedesk.top">
</a><br> </a><br>
<h5>OSS License</h5> <h5>OSS License</h5>
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fcutls%2FTheDesk/refs/branch/master/6ba75c93e470f11690b39bf2902e81401c6b3eb4" <a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fcutls%2FTheDesk/refs/branch/master/4e2f3ad68a68c0b3c180d9106502d8324939b838"
alt="FOSSA Status"><img alt="FOSSA Status"><img
src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcutls%2FTheDesk.svg?type=small" /></a> src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcutls%2FTheDesk.svg?type=small" /></a>
<br> <br>