Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions PRIVITTY_BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ export SIGNING_IDENTITY="Developer ID Application: Privitty Inc (ABCD123456)"
```bash
cd packages/target-electron

bash build/sign-mac.sh dist/PrivittyChat-1.0.0-universal.dmg
bash build/sign-mac.sh dist/PrivittyChat-1.0.1-universal.dmg
# or via npm:
pnpm sign:mac dist/PrivittyChat-1.0.0-universal.dmg
pnpm sign:mac dist/PrivittyChat-1.0.1-universal.dmg
```

What the script does, step by step:
Expand All @@ -98,7 +98,7 @@ What the script does, step by step:
6. Uploads to Apple for notarization (`xcrun notarytool`) and waits
7. Staples the notarization ticket

Output: `PrivittyChat-1.0.0-universal-signed.dmg` — ready for distribution.
Output: `PrivittyChat-1.0.1-universal-signed.dmg` — ready for distribution.

---

Expand All @@ -110,7 +110,7 @@ Run in PowerShell on your Windows machine:

```powershell
.\build\sign-win.ps1 `
-InstallerPath "dist\PrivittyChat-Setup-1.0.0.exe" `
-InstallerPath "dist\PrivittyChat-Setup-1.0.1.exe" `
-CertPath "C:\certs\privitty.pfx" `
-CertPassword "your-pfx-password"
```
Expand All @@ -119,15 +119,15 @@ Run in PowerShell on your Windows machine:

```powershell
.\build\sign-win.ps1 `
-InstallerPath "dist\PrivittyChat-Setup-1.0.0.exe" `
-InstallerPath "dist\PrivittyChat-Setup-1.0.1.exe" `
-UseHardwareToken
```

Sign both files (installer + portable):

```powershell
.\build\sign-win.ps1 -InstallerPath "dist\PrivittyChat-Setup-1.0.0.exe" -CertPath ... -CertPassword ...
.\build\sign-win.ps1 -InstallerPath "dist\PrivittyChat-Portable-1.0.0.exe" -CertPath ... -CertPassword ...
.\build\sign-win.ps1 -InstallerPath "dist\PrivittyChat-Setup-1.0.1.exe" -CertPath ... -CertPassword ...
.\build\sign-win.ps1 -InstallerPath "dist\PrivittyChat-Portable-1.0.1.exe" -CertPath ... -CertPassword ...
```

Output: Same `.exe` files, signed in-place.
Expand Down Expand Up @@ -173,7 +173,7 @@ This:
2. Generates config with `UNIVERSAL_BUILD=true`
3. Runs `electron-builder --mac dmg --universal`

Output: `dist/PrivittyChat-1.0.0-universal.dmg`
Output: `dist/PrivittyChat-1.0.1-universal.dmg`

---

Expand All @@ -198,7 +198,7 @@ Output: `dist/PrivittyChat-1.0.0-universal.dmg`
The version is set in `packages/target-electron/package.json`:

```json
{ "version": "1.0.0" }
{ "version": "1.0.1" }
```

Change it before tagging. The CI workflow also accepts a version override via `workflow_dispatch` so you can override without editing files.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": "true",
"name": "deltachat-desktop",
"type": "module",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {
"preinstall": "node ./bin/check-nodejs-version.js",
"check": "pnpm check:lint && pnpm check:format && pnpm check:target-versions && pnpm check:log-conventions",
Expand Down
2 changes: 1 addition & 1 deletion packages/target-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "@deltachat-desktop/target-browser",
"type": "module",
"version": "1.0.0",
"version": "1.0.1",
"license": "GPL-3.0-or-later",
"scripts": {
"check:types": "tsc --noEmit && tsc --noEmit -p runtime-browser",
Expand Down
2 changes: 1 addition & 1 deletion packages/target-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"type": "module",
"name": "@deltachat-desktop/target-electron",
"version": "1.0.0",
"version": "1.0.1",
"description": "Desktop Application for delta.chat",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/target-tauri/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@deltachat-desktop/target-tauri",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"license": "GPL-3.0-or-later",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/target-tauri/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltachat-tauri"
version = "1.0.0"
version = "1.0.1"
description = "Delta Chat Desktop: Tauri Edition. Secure, cross-platform, decentralized super-app messenger."
authors = ["DeltaChat Contributors"]
edition = "2021"
Expand Down
Loading