Skip to content

Commit

Permalink
Turn off signing
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Litvinov <jnashicq@gmail.com>
  • Loading branch information
Zensey committed Nov 22, 2023
1 parent ac2b09c commit 04a08de
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions controller/docker/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand All @@ -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)
Expand Down

0 comments on commit 04a08de

Please sign in to comment.