浏览代码

fix: signature for logseq canary

Tienson Qin 4 年之前
父节点
当前提交
a1fd8425c5
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      resources/forge.config.js

+ 11 - 0
resources/forge.config.js

@@ -4,6 +4,17 @@ module.exports = {
   packagerConfig: {
     icon: './icons/canary/logseq_big_sur.icns',
     name: 'Logseq Canary',
+    osxSign: {
+      identity: 'Developer ID Application: Tiansheng Qin',
+      'hardened-runtime': true,
+      entitlements: 'entitlements.plist',
+      'entitlements-inherit': 'entitlements.plist',
+      'signature-flags': 'library'
+    },
+    osxNotarize: {
+      appleId: "my-fake-apple-id",
+      appleIdPassword: "my-fake-apple-id-password",
+    },
   },
   makers: [
     {