Move ProgramPort and LaunchBrowser into .args

This commit is contained in:
2024-07-18 00:46:33 -06:00
parent ca857cdf1a
commit 72a36b3305
3 changed files with 5 additions and 4 deletions

4
assets/.args Normal file
View File

@ -0,0 +1,4 @@
-p
0
-w
/

View File

@ -1,5 +1,3 @@
LaunchBrowser()
local migrate = require "migrate"
local DB_FILENAME = "peachy.db"
@ -7,7 +5,7 @@ sqlite3 = require "lsqlite3"
local db = sqlite3.open(DB_FILENAME)
db:exec("PRAGMA journal_mode=WAL")
db:exec("PRAGMA foreign_keys")
migrate.migrate(db)
-- migrate.migrate(db)
fm = require "fullmoon"
fm.setTemplate({"/tmpl/", tmpl = "fmt"})