Merge branch 'upcoming'
# Conflicts: # LICENSE # src/renderer/index.js
This commit is contained in:
commit
0860c5050f
161 changed files with 15555 additions and 14915 deletions
18
resources/afterPack.js
Normal file
18
resources/afterPack.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
exports.default = function(context) {
|
||||
const { execSync } = require('child_process')
|
||||
|
||||
if (process.platform !== 'darwin')
|
||||
return
|
||||
|
||||
console.log('Castlabs-evs update start')
|
||||
execSync('python3 -m pip install --upgrade castlabs-evs')
|
||||
console.log('Castlabs-evs update complete')
|
||||
|
||||
|
||||
|
||||
console.log('VMP signing start')
|
||||
|
||||
execSync('python3 -m castlabs_evs.vmp -n sign-pkg dist/mac',{stdio: 'inherit'})
|
||||
|
||||
console.log('VMP signing complete')
|
||||
}
|
|
@ -2,11 +2,13 @@
|
|||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!-- https://github.com/electron/electron-notarize#prerequisites -->
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<true/>
|
||||
<!-- https://github.cm/electron-userland/electron-builder/issues/3940 -->
|
||||
<key>com.apple.security.cs.disable-library-validation</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
</plist>
|
BIN
resources/icons/icon-test.ico
Normal file
BIN
resources/icons/icon-test.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
Binary file not shown.
Before Width: | Height: | Size: 303 KiB After Width: | Height: | Size: 295 KiB |
20
resources/notarize.js
Normal file
20
resources/notarize.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
|
||||
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: 'com.ciderapp.cider',
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
appleId: process.env.APPLEID,
|
||||
appleIdPassword: process.env.APPLEIDPASS,
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue