Skip to content

Commit 231f0b7

Browse files
🚀 chore: update .gitignore and package version; enhance electron-builder configuration
- Added `.env` to .gitignore for better security, ensuring sensitive environment variables are not accidentally committed. - Updated the version in package.json from `0.0.7` to `0.0.8`, reflecting new changes and improvements. - In electron-builder.json5, `afterSign` script `electron-builder-notarize` added to automate the notarization process for macOS builds. - Changed output directory from `release/0.0.7` to `release/0.0.8`, aligning it with the new version number. - Added new settings in the macOS build configuration: `entitlementsInherit`, `gatekeeperAssess`, and `category`. These provide enhanced security features and categorization for the application.
1 parent 6e8c5d1 commit 231f0b7

4 files changed

Lines changed: 721 additions & 549 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dist-ssr
1313
dist-electron
1414
release
1515
*.local
16+
.env
1617

1718
# Editor directories and files
1819
.vscode/*

‎electron-builder.json5‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
appId: "io.screenlink.desktop",
77
asar: true,
88
productName: "ScreenLink",
9+
afterSign: "electron-builder-notarize",
910
directories: {
1011
// manually increase due to issue with Windows nsis
11-
output: "release/0.0.7",
12+
output: "release/0.0.8",
1213
buildResources: "build",
1314
},
1415
files: ["dist", "dist-electron"],
@@ -20,6 +21,9 @@
2021
icon: "public/icon.icns",
2122
hardenedRuntime: true,
2223
entitlements: "build/entitlements.mac.plist",
24+
entitlementsInherit: "build/entitlements.mac.plist",
25+
gatekeeperAssess: false,
26+
category: "public.app-category.productivity",
2327
extendInfo: {
2428
NSMicrophoneUsageDescription: "ScreenLink requires microphone access to record audio.",
2529
NSCameraUsageDescription: "ScreenLink requires camera access to record video.",

‎package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "screenlink-desktop",
33
"private": true,
4-
"version": "0.0.7",
4+
"version": "0.0.8",
55
"author": "Screenlink",
66
"description": "Screenlink Desktop",
77
"scripts": {
@@ -33,6 +33,7 @@
3333
"axios": "^1.6.2",
3434
"class-variance-authority": "^0.7.0",
3535
"clsx": "^2.0.0",
36+
"electron-builder-notarize": "^1.5.1",
3637
"electron-log": "^5.0.1",
3738
"electron-updater": "^6.1.7",
3839
"extendable-media-recorder": "^9.1.4",
@@ -49,6 +50,7 @@
4950
"update-electron-app": "^3.0.0"
5051
},
5152
"devDependencies": {
53+
"@electron/notarize": "^2.2.0",
5254
"@rollup/plugin-alias": "^5.1.0",
5355
"@types/fluent-ffmpeg": "^2.1.24",
5456
"@types/react": "^18.2.21",

0 commit comments

Comments
 (0)