AtlatestRepositorylantern
lantern / tree / lantern-clipackage.sgl
1
;;; lantern-cli - the Lantern runner binary2
;;;3
;;; A thin runner: `lantern run <dir|url>` opens any web build in a native4
;;; Lantern window with the batteries-included built-in command set. This is the5
;;; de-facto dev binary and the zero-custom-native path for wrapping a web app.6
;;;7
;;; Build native (the shippable path; enables the 4-arg decide-policy callback):8
;;; sigil build lantern-cli --config native9
;;; ./build/native/bin/lantern run ./dist11
(package12
name: "lantern-cli"13
sigil: "^0.17.14"14
description: "Runner binary for the Lantern desktop web-app wrapper"15
url: "https://codeberg.org/sigil/lantern"16
license: "BSD-3-Clause"17
authors: (list "David Wilson <[email protected]>")19
entry: '(lantern-cli main)20
bundle-name: "lantern"22
dependencies: (list23
(from-workspace name: "lantern")24
;; The opt-in `--system` flag registers the fs + pty capability plugin so a25
;; hosted web app (e.g. Slate) gets REAL local filesystem + shell access.26
(from-workspace name: "lantern-system")))