Skip to content

Commit

Permalink
Merge pull request #273 from bdash-app/revert-272-universal-binary-fo…
Browse files Browse the repository at this point in the history
…r-macos

Revert "Use universal binary for macOS"
  • Loading branch information
morishin authored Jun 14, 2024
2 parents 46885a9 + 87e096f commit 2a89a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 2 additions & 5 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ win:
- nsis

mac:
singleArchFiles: "*"
target:
- target: dmg
arch: universal
- target: zip
arch: universal
- zip
- dmg
category: public.app-category.developer-tools
hardenedRuntime: true
entitlements: ./build/entitlement.plist
Expand Down
5 changes: 2 additions & 3 deletions scripts/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = async function () {
return;
}

const appPath = path.resolve(__dirname, "../dist/production/mac-universal/Bdash.app");
const appPath = path.resolve(__dirname, "../dist/production/mac/Bdash.app");

if (!fs.existsSync(appPath)) {
throw new Error(`Cannot find application at: ${appPath}`);
Expand All @@ -16,12 +16,11 @@ module.exports = async function () {
console.log("afterSign: Notarizing");

await notarize({
tool: "notarytool",
appBundleId: "io.bdash",
appPath: appPath,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_PASSWORD,
teamId: process.env.ASC_PROVIDER,
ascProvider: process.env.ASC_PROVIDER,
});

console.log("afterSign: Notarized");
Expand Down

0 comments on commit 2a89a68

Please sign in to comment.