diff --git a/toolchainlib/src/init.luau b/toolchainlib/src/init.luau index 5b605de..a2b1abc 100644 --- a/toolchainlib/src/init.luau +++ b/toolchainlib/src/init.luau @@ -88,7 +88,12 @@ local function stripLeadingVersion(version: string): string end local LINK_INSTALL_DIR = (dirs.homeDir() or error("Couldn't get home dir :(")):join(".pesde"):join("bin") -local TOOL_STORAGE_DIR = LINK_INSTALL_DIR:join("tool_storage") +local TOOL_STORAGE_DIR = LINK_INSTALL_DIR:join(".tool_storage") + +local OLD_TOOL_STORAGE_DIR = LINK_INSTALL_DIR:join("tool_storage") +if pathfs.isFile(OLD_TOOL_STORAGE_DIR) then + pathfs.move(OLD_TOOL_STORAGE_DIR, TOOL_STORAGE_DIR) +end local bar = ProgressBar.new() :withStage("init", "Initializing")