Skip to content

Commit 9ca3251

Browse files
committed
Remove broken config
1 parent 4bd8c89 commit 9ca3251

4 files changed

Lines changed: 50 additions & 26 deletions

File tree

gui/electron-builder.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ win:
6262

6363
mac:
6464
target: dmg
65+
hardenedRuntime: true
66+
gatekeeperAssess: false
67+
entitlements: "build/entitlements.mac.plist"
68+
entitlementsInherit: build/entitlements.mac.plist
6569
artifactName: "SlimeVR-mac.${ext}"
6670
x64ArchFiles: "**/register-protocol-handler.node"
6771
icon: "./electron/resources/icons/icon.icns"

gui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"devDependencies": {
3434
"@dword-design/eslint-plugin-import-alias": "^4.0.9",
3535
"@electron/asar": "^4.0.1",
36+
"@electron/notarize": "^3.1.1",
3637
"@fluent/bundle": "^0.18.0",
3738
"@fluent/react": "^0.15.2",
3839
"@fontsource/poppins": "^5.1.0",

gui/scripts/notarize.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env node
2+
/* eslint-env node */
3+
require('dotenv').config();
4+
const { notarize } = require('electron-notarize');
5+
6+
exports.default = async function notarizing(context) {
7+
const { electronPlatformName, appOutDir } = context;
8+
if (electronPlatformName !== 'darwin') {
9+
return;
10+
}
11+
12+
const appName = context.packager.appInfo.productFilename;
13+
14+
return await notarize({
15+
tool: 'notarytool',
16+
teamId: process.env.APPLETEAMID,
17+
appBundleId: 'com.yourcompany.yourAppId',
18+
appPath: `${appOutDir}/${appName}.app`,
19+
appleId: process.env.APPLEID,
20+
appleIdPassword: process.env.APPLEIDPASS,
21+
});
22+
};

pnpm-lock.yaml

Lines changed: 23 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)