Skip to content

Commit

Permalink
finally getting this to works on a VM
Browse files Browse the repository at this point in the history
  • Loading branch information
qnkhuat committed Jan 23, 2023
1 parent ebffc31 commit 682a140
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ubinote/cmd.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
;; to install npm install -g "single-file-cli"
args (filter some? [single-file-bin (format "--browser-executable-path=%s" chrome-bin)
(format "--filename-template={page-title}-{time-locale}.html")
(when (= chrome-bin "google-chrome")
"--browser-args=[\"--no-sandbox\"]")
url out-path])
_ (assert chrome-bin "Could not find `CHROME_BINARY` in your system")
_ (assert single-file-bin "Could not find `single-file` in your system")
Expand Down

0 comments on commit 682a140

Please sign in to comment.