init mac codesign

This commit is contained in:
layyback 2023-06-25 14:21:18 +08:00
parent 46eeb8d320
commit e2ea081d25
5 changed files with 23 additions and 11 deletions

View File

@ -1,6 +1,6 @@
{
"name": "rubick",
"version": "2.2.9",
"version": "2.2.10",
"author": "muwoo <2424880409@qq.com>",
"private": true,
"scripts": {

View File

@ -0,0 +1,14 @@
<?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.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>

View File

@ -1,3 +1,2 @@
- 增加windows自动更新逻辑
- 修复一些已知问题
- 发布时间 2023-06-24
- init mac codesign
- 发布时间 2023-06-25

View File

@ -6,12 +6,6 @@ import commonConst from '@/common/utils/commonConst';
import { main } from '../browsers';
import { app } from 'electron';
// Object.defineProperty(app, 'isPackaged', {
// get() {
// return true;
// },
// });
class VersionHandler {
private lastestVersion: string;
private currentVersion: string;

View File

@ -62,7 +62,12 @@ module.exports = {
},
mac: {
icon: 'public/icons/icon.icns',
target: ['pkg'],
target: ['dmg', 'zip'],
gatekeeperAssess: false,
entitlementsInherit: './release/entitlements.mac.plist',
entitlements: './release/entitlements.mac.plist',
hardenedRuntime: true,
category: 'public.app-category.developer-tools',
extendInfo: {
LSUIElement: 1,
},