Browse Source

chore: switch back to Logseq from Canary

Tienson Qin 4 years ago
parent
commit
5ec6e31bfd
2 changed files with 17 additions and 9 deletions
  1. 15 7
      resources/forge.config.js
  2. 2 2
      resources/package.json

+ 15 - 7
resources/forge.config.js

@@ -2,24 +2,32 @@ const path = require('path')
 
 module.exports = {
   packagerConfig: {
-    icon: './icons/canary/logseq_big_sur.icns',
-    name: 'Logseq Canary',
+    icon: './icons/logseq_big_sur.icns',
+    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: [
     {
       'name': '@electron-forge/maker-squirrel',
       'config': {
-        title: 'Logseq Canary',
-        name: 'LogseqCanary', // ID name
-        setupIcon: './icons/canary/logseq.ico'
+        'name': 'Logseq'
       }
     },
     {
       name: '@electron-forge/maker-dmg',
       config: {
         format: 'ULFO',
-        icon: './icons/canary/logseq_big_sur.icns',
-        name: 'Logseq Canary'
+        icon: './icons/logseq_big_sur.icns',
+        name: 'Logseq'
       }
     },
     {

+ 2 - 2
resources/package.json

@@ -1,6 +1,6 @@
 {
-  "name": "Logseq-Canary",
-  "version": "0.0.1",
+  "name": "Logseq",
+  "version": "0.1.0",
   "main": "electron.js",
   "author": "Logseq",
   "description": "A privacy-first, open-source platform for knowledge management and collaboration.",