chore: app -> desktop

This commit is contained in:
Adam
2025-10-03 09:04:28 -05:00
parent 1d58b55482
commit 3fa280d218
1143 changed files with 50 additions and 50 deletions

View File

@@ -0,0 +1,14 @@
export function getFilename(path: string) {
const parts = path.split("/")
return parts[parts.length - 1]
}
export function getDirectory(path: string) {
const parts = path.split("/")
return parts.slice(0, parts.length - 1).join("/")
}
export function getFileExtension(path: string) {
const parts = path.split(".")
return parts[parts.length - 1]
}