wip: desktop work

This commit is contained in:
Adam
2025-09-26 11:41:15 -05:00
parent 8699e896e6
commit cc955098cd
13 changed files with 1580 additions and 608 deletions

View File

@@ -115,6 +115,7 @@ function init() {
const sanitizer = createMemo(() => new RegExp(`${store.path.directory}/`, "g"))
const sanitize = (text: string) => text.replace(sanitizer(), "")
const absolute = (path: string) => (store.path.directory + "/" + path).replace("//", "/")
return {
data: store,
@@ -146,6 +147,7 @@ function init() {
},
},
load,
absolute,
sanitize,
}
}