From 04a08defe4b8eeb16b2328c9c280d2ce70edca86 Mon Sep 17 00:00:00 2001 From: Anton Litvinov Date: Tue, 21 Nov 2023 12:05:00 +0300 Subject: [PATCH] Turn off signing Signed-off-by: Anton Litvinov --- .github/workflows/release.yml | 36 +++++++++++++++++------------------ controller/docker/runner.go | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1078c14..ddfa28b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,15 +34,15 @@ jobs: GOARCH: amd64 GOOS: windows - - name: Sign - env: - CODE_SIGNING_PFX: ${{ secrets.WINDOWS_CERTS }} - CODE_SIGNING_PFX_PASSWORD: ${{ secrets.WINDOWS_CERTS_PASSWORD }} - SIGNTOOL: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe" - run: | - Set-Content -Path bundle.txt -Value $env:CODE_SIGNING_PFX - certutil -decode bundle.txt bundle.pfx - & $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" bin/myst-launcher-amd64.exe +# - name: Sign +# env: +# CODE_SIGNING_PFX: ${{ secrets.WINDOWS_CERTS }} +# CODE_SIGNING_PFX_PASSWORD: ${{ secrets.WINDOWS_CERTS_PASSWORD }} +# SIGNTOOL: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe" +# run: | +# Set-Content -Path bundle.txt -Value $env:CODE_SIGNING_PFX +# certutil -decode bundle.txt bundle.pfx +# & $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" bin/myst-launcher-amd64.exe - name: Build run: | @@ -53,15 +53,15 @@ jobs: candle installer\installer.wxs installer\licenseDialogue.wxs -arch x64 -out installer\ light installer\installer.wixobj installer\licenseDialogue.wixobj -dcl:high -ext WixUIExtension.dll -ext WixUtilExtension.dll -out installer\myst-launcher-x64.msi - - name: Sign - env: - CODE_SIGNING_PFX: ${{ secrets.WINDOWS_CERTS }} - CODE_SIGNING_PFX_PASSWORD: ${{ secrets.WINDOWS_CERTS_PASSWORD }} - SIGNTOOL: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe" - run: | - Set-Content -Path bundle.txt -Value $env:CODE_SIGNING_PFX - certutil -decode bundle.txt bundle.pfx - & $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" installer/myst-launcher-x64.msi bin/myst-launcher-cli.exe +# - name: Sign +# env: +# CODE_SIGNING_PFX: ${{ secrets.WINDOWS_CERTS }} +# CODE_SIGNING_PFX_PASSWORD: ${{ secrets.WINDOWS_CERTS_PASSWORD }} +# SIGNTOOL: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe" +# run: | +# Set-Content -Path bundle.txt -Value $env:CODE_SIGNING_PFX +# certutil -decode bundle.txt bundle.pfx +# & $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" installer/myst-launcher-x64.msi bin/myst-launcher-cli.exe - name: Upload uses: softprops/action-gh-release@v1 diff --git a/controller/docker/runner.go b/controller/docker/runner.go index 864af38..e43160b 100644 --- a/controller/docker/runner.go +++ b/controller/docker/runner.go @@ -84,7 +84,7 @@ func (r *DockerRunner) tryStartDockerDesktop() bool { func startDockerDesktop() error { var cmd *exec.Cmd - // fmt.Println("Start Docker Desktop>", runtime.GOOS) + fmt.Println("Start Docker Desktop>", runtime.GOOS) switch runtime.GOOS { case "windows": @@ -96,7 +96,7 @@ func startDockerDesktop() error { default: return errors.New("unsupported OS: " + runtime.GOOS) } - // fmt.Println("Start Docker Desktop>", cmd) + fmt.Println("Start Docker Desktop>", cmd) if err := cmd.Start(); err != nil { fmt.Println("err>", err)