local d=require("\064\108\117\110\101\047\112\114\111\099\101\115\115")local S={}function S.join(...)local S=table.concat({...},"\047")if d.os=="\119\105\110\100\111\119\115"then S=S:gsub("\047","\092")end return S end return S
--!strict

--[[
	Paths use \ on Windows and / on Unix. Lune doesn't have a built-in path assembler,
	so this script is used to provide a consistent path format for all platforms.
--]]

local process = require("@lune/process")

local Path = {}

function Path.join(...)
	local path = table.concat({ ... }, "/")
	if process.os == "windows" then
		path = path:gsub("/", "\\")
	end
	return path
end

return Path
