Integrate graphics, RAW, audio and CAD Craft tools with protected saves

This commit is contained in:
SantaSpeen committed 2026-10-22 19:48:16 +03:00
1 parent 6e36b6c4b7
commit 852140c3a7
24 files changed
+600 -74

No files matched your search

-8
View File
@@ -26,14 +26,6 @@ const MaxExpanded = 512 << 20
var safeBuild = regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9._-]{0,127}$`)
type Tool struct {
ID string `json:"id"`
Name string `json:"name"`
Extension string `json:"extension"`
}
var Catalog = []Tool{{"wordcraft", "WordCraft", ".docx"}, {"gridcraft", "GridCraft", ".xlsx"}, {"deckcraft", "DeckCraft", ".pptx"}, {"pdfcraft", "PdfCraft", ".pdf"}}
func Find(id string) (Tool, bool) {
for _, tool := range Catalog {
if tool.ID == id {