Skip to content

Commit

Permalink
Merge pull request #90 from tom-james-watson/0.9.0
Browse files Browse the repository at this point in the history
version 0.9.0
  • Loading branch information
tom-james-watson authored Feb 21, 2021
2 parents b3d05e9 + 6d30870 commit 806d128
Show file tree
Hide file tree
Showing 5 changed files with 419 additions and 337 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ node_modules
release
app/main/dist
app/renderer/dist

# dotenv
.env
10 changes: 10 additions & 0 deletions internals/build/entitlements.mac.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>
18 changes: 18 additions & 0 deletions internals/scripts/Notarize.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
require("dotenv").config();
const { notarize } = require("electron-notarize");

exports.default = async function notarizing(context) {
const { electronPlatformName } = context;
if (electronPlatformName !== "darwin") {
return;
}

const appName = context.packager.appInfo.productFilename;

return await notarize({
appBundleId: "com.tomjwatson.breaktimer",
appPath: `release/mac/BreakTimer.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASS,
});
};
Loading

0 comments on commit 806d128

Please sign in to comment.