Fix write dir missing a trailing slash (#947)
This commit is contained in:
parent
a7b910a755
commit
cb508c6b9f
2
init.lua
2
init.lua
|
@ -22,7 +22,7 @@ end
|
|||
g_resources.addSearchPath(g_resources.getWorkDir() .. "mods", true)
|
||||
|
||||
-- setup directory for saving configurations
|
||||
g_resources.setupUserWriteDir(g_app.getCompactName())
|
||||
g_resources.setupUserWriteDir(('%s/'):format(g_app.getCompactName()))
|
||||
|
||||
-- search all packages
|
||||
g_resources.searchAndAddPackages('/', '.otpkg', true)
|
||||
|
|
Loading…
Reference in New Issue