-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auto-update): Adds code signing for Mac + auto-update & removes …
…grandiose / NDI (#414) * ci(notarization): adds signing and notarization to ci build Follows the following two guides to add Apple Application signing and notarization steps to the CI build process. https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/ https://www.update.rocks/blog/osx-signing-with-travis/ re #96 * feat(auto-update): Added electron-builder * feat(auto-update): Added mac-specific entitlements * chore(auto-update): Remove unneeded stuff. * feat(auto-update): Notarization script after sign * chore(show-update): Added dotenv & latest electron-builder * feat(auto-update): Add description * fix(auto-update): Use xcode12 to build for macOS * fix: forces asar packing for macOS * fix: reverts forced asar configuration * ci(npm): Update webpack-2 & node-sass, remove grandiose * fix(electron-builder): Disable NDI as that required grandiose which was removed * ci(travis): Disable code signing for Windows and Linux in electron-builder Co-authored-by: Sam Wray <sam@wray.pro>
- Loading branch information
1 parent
819010b
commit 991153e
Showing
11 changed files
with
21,993 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ yarn-error.log* | |
*.sw? | ||
|
||
#Electron-builder output | ||
/dist_electron | ||
/dist_electron | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?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/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, appOutDir } = context; | ||
if (electronPlatformName !== "darwin") { | ||
return; | ||
} | ||
|
||
const appName = context.packager.appInfo.productFilename; | ||
|
||
return await notarize({ | ||
appBundleId: "gl.vcync.modv", | ||
appPath: `${appOutDir}/${appName}.app`, | ||
appleId: process.env.APPLEID, | ||
appleIdPassword: process.env.APPLEIDPASS | ||
}); | ||
}; |
Oops, something went wrong.