mirror of
https://github.com/edubart/otclient.git
synced 2025-12-20 23:47:12 +01:00
Fix write dir missing a trailing slash (#947)
This commit is contained in:
2
init.lua
2
init.lua
@@ -22,7 +22,7 @@ end
|
|||||||
g_resources.addSearchPath(g_resources.getWorkDir() .. "mods", true)
|
g_resources.addSearchPath(g_resources.getWorkDir() .. "mods", true)
|
||||||
|
|
||||||
-- setup directory for saving configurations
|
-- setup directory for saving configurations
|
||||||
g_resources.setupUserWriteDir(g_app.getCompactName())
|
g_resources.setupUserWriteDir(('%s/'):format(g_app.getCompactName()))
|
||||||
|
|
||||||
-- search all packages
|
-- search all packages
|
||||||
g_resources.searchAndAddPackages('/', '.otpkg', true)
|
g_resources.searchAndAddPackages('/', '.otpkg', true)
|
||||||
|
|||||||
Reference in New Issue
Block a user