mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 18:06:12 +02:00
Merge pull request #1792 from penpot/niwinz-minor-enhancements
Enhancements
This commit is contained in:
commit
aa2bb75f95
12 changed files with 64 additions and 19 deletions
|
@ -68,6 +68,13 @@
|
|||
(-> (obj/get global "penpotVersion")
|
||||
(v/parse)))
|
||||
|
||||
(defn parse-build-date
|
||||
[global]
|
||||
(let [date (obj/get global "penpotBuildDate")]
|
||||
(if (= date "%buildDate%")
|
||||
"unknown"
|
||||
date)))
|
||||
|
||||
;; --- Globar Config Vars
|
||||
|
||||
(def default-theme "default")
|
||||
|
@ -83,6 +90,7 @@
|
|||
(def sentry-dsn (obj/get global "penpotSentryDsn"))
|
||||
(def onboarding-form-id (obj/get global "penpotOnboardingQuestionsFormId"))
|
||||
|
||||
(def build-date (parse-build-date global))
|
||||
(def flags (atom (parse-flags global)))
|
||||
(def version (atom (parse-version global)))
|
||||
(def target (atom (parse-target global)))
|
||||
|
|
|
@ -33,7 +33,10 @@
|
|||
(log/set-level! :app :info)
|
||||
|
||||
(when (= :browser @cf/target)
|
||||
(log/info :message "Welcome to penpot" :version (:full @cf/version) :public-uri (str cf/public-uri)))
|
||||
(log/info :message "Welcome to penpot"
|
||||
:version (:full @cf/version)
|
||||
:build-date cf/build-date
|
||||
:public-uri (str cf/public-uri)))
|
||||
|
||||
(declare reinit)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue