added symlink support for mods

This commit is contained in:
Jake Eaker
2026-07-31 13:47:53 -04:00
parent 1bc252741a
commit fc19e58678
3 changed files with 13 additions and 2 deletions
+5
View File
@@ -1,4 +1,9 @@
function love.conf(t)
-- PhysFS ignores symlinks unless told otherwise, so a mod dev-linked into
-- mods/ (ln -s, matching the mklink /J workflow on Windows) is invisible
-- to love.filesystem.getDirectoryItems without this.
love.filesystem.setSymlinksEnabled(true)
local editor = os.getenv("POKEPORT_EDITOR") == "1"
local developer = os.getenv("POKEPORT_DEV") == "1"
if arg then