mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
add missing files
This commit is contained in:
parent
ed951385e1
commit
34c9f430e5
3 changed files with 40 additions and 0 deletions
16
freedata_gui/build/entitlements.plist
Normal file
16
freedata_gui/build/entitlements.plist
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?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-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.disable-library-validation</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.disable-executable-page-protection</key>
|
||||
<true/>
|
||||
<key>com.apple.security.automation.apple-events</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
BIN
freedata_gui/build/icon.png
Normal file
BIN
freedata_gui/build/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 590 KiB |
24
freedata_gui/build/notarize_macos.js
Normal file
24
freedata_gui/build/notarize_macos.js
Normal file
|
@ -0,0 +1,24 @@
|
|||
const { notarize } = require('@electron/notarize');
|
||||
|
||||
async function notarizing(context) {
|
||||
const { electronPlatformName, appOutDir } = context;
|
||||
console.log("Notarization...")
|
||||
if (electronPlatformName !== 'darwin') {
|
||||
console.log("--> Platform:" + electronPlatformName + " detected: not a APPLE system. Skipping")
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("--> Platform:" + electronPlatformName + " detected: Trying to notarize app.")
|
||||
const appName = context.packager.appInfo.productFilename;
|
||||
|
||||
return await notarize({
|
||||
tool: 'notarytool',
|
||||
appBundleId: 'app.freedata',
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
appleId: process.env.APPLE_ID,
|
||||
appleIdPassword: process.env.APPLE_ID_PASSWORD,
|
||||
teamId: process.env.APPLE_TEAM_ID
|
||||
});
|
||||
}
|
||||
|
||||
exports.default = notarizing;
|
Loading…
Reference in a new issue