Browse Source

ci: re-enable codesign on macos

Andelf 2 years ago
parent
commit
d0c52615f8
2 changed files with 3 additions and 7 deletions
  1. 0 2
      .github/workflows/build-desktop-release.yml
  2. 3 5
      resources/forge.config.js

+ 0 - 2
.github/workflows/build-desktop-release.yml

@@ -492,8 +492,6 @@ jobs:
           body: |
             This is a nightly release of the Logseq desktop app.
             It's unstable compared to the official releases, **use it with caution**!
-
-            Known Issue: macOS build is not signed, so you need to allow it to run in System Preferences -> Security & Privacy -> General.
           files: |
             ./SHA256SUMS.txt
             ./*.zip

+ 3 - 5
resources/forge.config.js

@@ -6,12 +6,11 @@ module.exports = {
     icon: './icons/logseq_big_sur.icns',
     protocols: [
       {
-        "protocol":"logseq",
-        "name":"logseq",
-        "schemes":"logseq"
+        "protocol": "logseq",
+        "name": "logseq",
+        "schemes": "logseq"
       }
     ],
-    /*
     osxSign: {
       identity: 'Developer ID Application: Tiansheng Qin',
       'hardened-runtime': true,
@@ -24,7 +23,6 @@ module.exports = {
       appleIdPassword: process.env['APPLE_ID_PASSWORD'],
       ascProvider: process.env['APPLE_ASC_PROVIDER']
     },
-    */
   },
   makers: [
     {