mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-04 08:11:52 -08:00
revisions
This commit is contained in:
parent
e02f92aaa9
commit
4cd82883ea
6 changed files with 51 additions and 17 deletions
|
|
@ -5,7 +5,9 @@
|
|||
(restore-eventual-backup)
|
||||
(load-settings)
|
||||
(lora:ini)
|
||||
(group:ini)
|
||||
(msg:ini)
|
||||
(radios:ini)
|
||||
(db:ini)
|
||||
(loc:ini)
|
||||
(setf msg:*message-id* (db:max-message-id))
|
||||
|
|
@ -156,4 +158,19 @@
|
|||
(delete-file x:it))
|
||||
(loc:extract-map-bin t))
|
||||
|
||||
;;; check app version (mobile)
|
||||
|
||||
#+mobile
|
||||
(defconstant +version+ 1)
|
||||
|
||||
#+mobile
|
||||
(let ((.version (merge-pathnames ".version")))
|
||||
(when (or (not (probe-file .version))
|
||||
(> +version+
|
||||
(parse-integer (alexandria:read-file-into-string .version))))
|
||||
;; asset files may have changed
|
||||
(copy-all-asset-files)
|
||||
(alexandria:write-string-into-file
|
||||
(princ-to-string +version+) .version :if-exists :supersede)))
|
||||
|
||||
(qlater 'ini)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue