Skip to content

Commit

Permalink
Allow overriding the install path with settings
Browse files Browse the repository at this point in the history
90% intended for my dev environment, so I don't need to keep changing it
to "/".
  • Loading branch information
SquidDev committed Oct 3, 2021
1 parent 4b21171 commit a30b826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbs.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local arg = table.pack(...)
local root_dir = ".mbs"
local root_dir = settings.get("mbs.install_path", ".mbs")
local rom_dir = "rom/.mbs"
local install_dir = fs.exists(root_dir) and root_dir or rom_dir
local repo_url = "https://raw.githubusercontent.com/SquidDev-CC/mbs/master/"
Expand Down

0 comments on commit a30b826

Please sign in to comment.