build
This commit is contained in:
		@@ -11,6 +11,7 @@ const construct = require('./view/make/make.js')
 | 
			
		||||
const { platform, arch } = process
 | 
			
		||||
const Platform = builder.Platform
 | 
			
		||||
const Arch = builder.Arch
 | 
			
		||||
const artifactName = 'TheDesk-setup-${arch}.${ext}'
 | 
			
		||||
const config = {
 | 
			
		||||
    productName: 'TheDesk',
 | 
			
		||||
    appId: 'top.thedesk',
 | 
			
		||||
@@ -71,6 +72,7 @@ async function cmd(options) {
 | 
			
		||||
        construct(ver, basefile, false, true)
 | 
			
		||||
        if ((platform == 'win32' && !isTrue(options, 'skiWindows')) || isTrue(options, 'windows', 'w')) {
 | 
			
		||||
            if ((isTrue(options, 'withIa32') && arch == 'x64') || arch == 'ia32') {
 | 
			
		||||
                config.nsis.artifactName = artifactName.replace('${arch}', 'ia32')
 | 
			
		||||
                await build(Platform.WINDOWS, Arch.ia32, config)
 | 
			
		||||
                fs.renameSync(
 | 
			
		||||
                    `../build/TheDesk ${version}.exe`,
 | 
			
		||||
@@ -82,6 +84,7 @@ async function cmd(options) {
 | 
			
		||||
                )
 | 
			
		||||
            }
 | 
			
		||||
            if (arch == 'x64') {
 | 
			
		||||
                config.nsis.artifactName = artifactName.replace('${arch}', 'x64')
 | 
			
		||||
                await build(Platform.WINDOWS, Arch.x64, config)
 | 
			
		||||
                fs.renameSync(
 | 
			
		||||
                    `../build/TheDesk ${version}.exe`,
 | 
			
		||||
@@ -116,6 +119,7 @@ async function cmd(options) {
 | 
			
		||||
        construct(ver, basefile, false, false)
 | 
			
		||||
        if ((platform == 'win32' && !isTrue(options, 'skiWindows')) || isTrue(options, 'windows', 'w')) {
 | 
			
		||||
            if ((isTrue(options, 'withIa32') && arch == 'x64') || arch == 'ia32') {
 | 
			
		||||
                config.nsis.artifactName = artifactName.replace('${arch}', 'ia32')
 | 
			
		||||
                await build(Platform.WINDOWS, Arch.ia32, config)
 | 
			
		||||
                fs.renameSync(
 | 
			
		||||
                    `../build/TheDesk ${version}.exe`,
 | 
			
		||||
@@ -123,6 +127,7 @@ async function cmd(options) {
 | 
			
		||||
                )
 | 
			
		||||
            }
 | 
			
		||||
            if (arch == 'x64') {
 | 
			
		||||
                config.nsis.artifactName = artifactName.replace('${arch}', 'x64')
 | 
			
		||||
                await build(Platform.WINDOWS, Arch.x64, config)
 | 
			
		||||
                fs.renameSync(
 | 
			
		||||
                    `../build/TheDesk ${version}.exe`,
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,7 @@
 | 
			
		||||
<body class="">
 | 
			
		||||
	<script>
 | 
			
		||||
		var ver = '22.2.0 (Koume)'
 | 
			
		||||
		var gitHash = 'a7349d574d803f034cf418d6b3f2264643dff1f5'
 | 
			
		||||
		var gitHash = 'f570ed36e876bfe2f9d21a6350c1f22f22980c89'
 | 
			
		||||
		//betaを入れるとバージョンチェックしない
 | 
			
		||||
		//var ver="beta";
 | 
			
		||||
		var acct_id = 0
 | 
			
		||||
 
 | 
			
		||||
@@ -690,7 +690,7 @@
 | 
			
		||||
		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>
 | 
			
		||||
	<br>
 | 
			
		||||
	TheDesk @ <a href="https://github.com/cutls/TheDesk/commits/a7349d574d803f034cf418d6b3f2264643dff1f5">a7349d574d803f034cf418d6b3f2264643dff1f5</a> - <a
 | 
			
		||||
	TheDesk @ <a href="https://github.com/cutls/TheDesk/commits/f570ed36e876bfe2f9d21a6350c1f22f22980c89">f570ed36e876bfe2f9d21a6350c1f22f22980c89</a> - <a
 | 
			
		||||
		onclick="checkupd(); return localStorage.removeItem('new-ver-skip'); location.href='index.html';"
 | 
			
		||||
		class="pointer pwa">Sprawdź aktualizacje</a><br>
 | 
			
		||||
	<br>
 | 
			
		||||
@@ -700,7 +700,7 @@
 | 
			
		||||
		<img src="https://status.cutls.com/badge-service?site=thedesk.top">
 | 
			
		||||
	</a><br>
 | 
			
		||||
	<h5>OSS License</h5>
 | 
			
		||||
	<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fcutls%2FTheDesk/refs/branch/master/a7349d574d803f034cf418d6b3f2264643dff1f5"
 | 
			
		||||
	<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fcutls%2FTheDesk/refs/branch/master/f570ed36e876bfe2f9d21a6350c1f22f22980c89"
 | 
			
		||||
		alt="FOSSA Status"><img
 | 
			
		||||
			src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcutls%2FTheDesk.svg?type=small" /></a>
 | 
			
		||||
	<br>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user