Fix build error for Win32, add notarization clause to README

Signed-off-by: Marquis Kurt <software@marquiskurt.net>
This commit is contained in:
Marquis Kurt 2019-07-28 11:04:52 -04:00
parent 71df28ba11
commit 09a0bde331
No known key found for this signature in database
GPG Key ID: 725636D259F5402D
3 changed files with 7 additions and 1 deletions

View File

@ -81,6 +81,10 @@ You can run any of the following commands to build a release for the desktop:
>
> While the command will run without needing the signature, it is recommended that you make a signed copy to protect users.
> ⚠️ **Notarization**: If you are building the macOS version of Hyperspace, you will also need to set up notarization processes. Hyperspace will _not_ run on devices running macOS Catalina or later without this notarization; please ensure you have the correct certificates and updated notarization scripts in `desktop/notarize.js`.
>
> When building, the script will aotumatically notarize the app for you after signing it.
The built files will be available under `dist` that can be uploaded to your app distributor or website.
## Contribute

View File

@ -15,6 +15,8 @@ exports.default = async function notarizing(context) {
return;
}
console.log("Notarizing Hyperspace...");
const appName = context.packager.appInfo.productFilename;
return await notarize({

View File

@ -50,7 +50,7 @@
"build": "react-scripts build",
"create-mac-icon": "cd desktop; iconutil -c icns app.iconset; cd ..",
"build-desktop": "npm run build; npm run create-mac-icon; electron-builder -mwl deb AppImage snap",
"build-desktop-win": "build -w",
"build-desktop-win": "electron-builder -w",
"build-desktop-darwin": "npm run create-mac-icon; electron-builder -m",
"build-desktop-linux": "electron-builder -l deb AppImage snap",
"build-desktop-linux-select": "electron-builder -l ",