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

+5 -1
View File
@@ -1,8 +1,12 @@
package fbhttp
import _ "embed"
import "github.com/filebrowser/filebrowser/v2/internal/addons"
//go:embed craft_bridge.js
var officeBridge []byte
func needsOfficeBridge(id string) bool { return id == "wordcraft" || id == "deckcraft" }
func needsOfficeBridge(id string) bool {
tool, ok := addons.Find(id)
return ok && tool.Bridge == "drop"
}