Skip to content

Commit f7a28e7

Browse files
authored
feat: kubo 0.34 + electron 35 + windows signing (#2936)
* feat: kubo 0.34+ electron 35 * test: proper test of post-init state this ensures we have a test that confirms AutoTLS.Enabled=true being explicitly set in config of new IPFS Desktop repo (to skip AutoTLS.RegistrationDelay introduced in Kubo 0.34) * feat(win): trusted signing with azure this may require profile name, azure permissions and secrets to be adjusted before it actually works * chore: electron-builder v26.0.11 trying latest code to solve azure signing issues * chore: kubo v0.34.1
1 parent 10ebacf commit f7a28e7

File tree

7 files changed

+1769
-3832
lines changed

7 files changed

+1769
-3832
lines changed

.github/workflows/ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,6 @@ jobs:
230230
max_attempts: 2
231231
# GH token for attaching atrifacts to release draft on tag build
232232
github_token: ${{ secrets.github_token }}
233-
# Windows signing
234-
windows_certs: ${{ secrets.windows_certs }}
235-
windows_certs_password: ${{ secrets.windows_certs_password }}
236233
# Apple signing
237234
mac_certs: ${{ secrets.mac_certs }}
238235
mac_certs_password: ${{ secrets.mac_certs_password }}
@@ -244,6 +241,10 @@ jobs:
244241
# Apple notarization
245242
APPLEID: ${{ secrets.apple_id }}
246243
APPLEIDPASS: ${{ secrets.apple_id_pass }}
244+
# Windows Azure Trusted Signing
245+
AZURE_TENANT_ID: ${{secrets.AZURE_TENANT_ID}}
246+
AZURE_CLIENT_ID: ${{secrets.AZURE_CLIENT_ID}}
247+
AZURE_CLIENT_SECRET: ${{secrets.AZURE_CLIENT_SECRET}}
247248

248249
- name: Show dist/
249250
run: du -sh dist/ && ls -l dist/

electron-builder.yml

+14
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,28 @@ dmg:
4343
type: link
4444
path: /Applications
4545

46+
win:
47+
target:
48+
- nsis
49+
# TODO - portable
50+
azureSignOptions:
51+
publisherName: 'IPFS Project'
52+
endpoint: 'https://eus.codesigning.azure.net'
53+
certificateProfileName: 'ipfs-desktop'
54+
codeSigningAccountName: 'pl-code-signing'
55+
4656
nsis:
57+
artifactName: ${name}-setup-${version}-${os}-${arch}.${ext}
4758
include: assets/build/nsis.nsh
4859
oneClick: false
4960
warningsAsErrors: false
5061
perMachine: false
5162
allowElevation: true
5263
allowToChangeInstallationDirectory: true
5364

65+
portable:
66+
artifactName: ${name}-portable-${version}-${os}-${arch}.${ext}
67+
5468
linux:
5569
artifactName: ${name}-${version}-${os}-${arch}.${ext}
5670
executableName: ipfs-desktop

0 commit comments

Comments
 (0)