Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions script/files.lua
Original file line number Diff line number Diff line change
Expand Up @@ -919,10 +919,10 @@ function m.resolvePathPlaceholders(path)
if addonsPath then
return addonsPath
end
local client = require 'client'
local storagePath = client.getOption('storagePath')
local client = require("client")
local storagePath = client.getOption("storagePath")
if storagePath then
addonsPath = storagePath .. "/addonManager/addons"
addonsPath = (fs.path(storagePath) / "addonManager" / "addons"):string()
else
-- Common path across OSes
local dataPath = "User/globalStorage/sumneko.lua/addonManager/addons"
Expand Down
Loading