Skip to content

Commit

Permalink
chore(canary): add logo & close updater
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Apr 30, 2021
1 parent 0c758fc commit df75312
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
21 changes: 5 additions & 16 deletions resources/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,22 @@ const path = require('path')

module.exports = {
packagerConfig: {
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",
},
icon: './icons/canary/logseq_big_sur.icns',
},
makers: [
{
'name': '@electron-forge/maker-squirrel',
'config': {
'name': 'Logseq',
'setupIcon': './icons/logseq.ico'
'name': 'Logseq Canary',
'setupIcon': './icons/canary/logseq.ico'
}
},
{
name: '@electron-forge/maker-dmg',
config: {
format: 'ULFO',
icon: './icons/logseq_big_sur.icns',
name: 'Logseq'
icon: './icons/canary/logseq_big_sur.icns',
name: 'Logseq Canary'
}
},
{
Expand Down
9 changes: 5 additions & 4 deletions src/electron/electron/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@

(defn setup-updater! [^js win]
;; manual/auto updater
(when-not linux?
(init-updater {:repo "logseq/logseq"
:logger logger
:win win})))
;;(when-not linux?
;; (init-updater {:repo "logseq/logseq"
;; :logger logger
;; :win win}))
)

(defn setup-interceptor! []
(.registerFileProtocol
Expand Down

0 comments on commit df75312

Please sign in to comment.