You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-9Lines changed: 42 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,26 @@
8
8
9
9
**1. Initial Setup**
10
10
1. Create an Apple Account if you don't have one.
11
+

12
+
11
13
2. Install Xcode and Apple Developer App from the App Store.
12
14
3. Open the Apple Developer App and subscribe to the $99 Apple Developer Program, providing accurate details as per your *National ID*.
13
15
4. Wait until you receive the Apple Developer Program Welcome Email, which may take up to 48 hours.
14
16
17
+

3. Place the "certificate.p12" file exported earlier in the root directory.
54
68
4. Create a "package-mac-signed.sh" file, paste the following content, and then replace placeholders with your credentials:
@@ -62,14 +76,18 @@ npm run package
62
76
```
63
77
5. Run `bash package-mac-signed.sh`.
64
78
6. Once you see the "notarization successful" message in the terminal, you can now distribute the ".dmg" via the internet to your users without facing any security warnings. Hurray! 🎉
### ❓ How to automate the above process using GitHub Actions?
237
258
238
259
**1. GitHub Repository Setup**
@@ -248,7 +269,7 @@ base64 -i certificate.p12
248
269
2. Click "Create bucket".
249
270
3. Configure the bucket:
250
271
```
251
-
Bucket name: Enter a unique bucket namein kebab case (e.g., my-app-name-distribution)
272
+
Bucket name: Enter a unique bucket name. Conventionally, this name matches your product's name in kebab case. For example, if your product is named "Chess Master," your bucket name will be `chess-master`.
252
273
Object Ownership: Select ACLs enabled
253
274
Block Public Access settings for this bucket: Uncheck "Block all public access"
254
275
```
@@ -261,6 +282,9 @@ Ensure that **Object Ownership** is set to **"ACLs enabled"** because Electron B
### ❓ How to Set Up Auto Update for my Electron App?
406
439
407
440
Electron Builder's auto-update feature makes life much easier for your users by allowing you to push updates without requiring them to manually download and install the new version.
0 commit comments