Integrate graphics, RAW, audio and CAD Craft tools with protected saves
This commit is contained in:
1 parent
6e36b6c4b7
commit
852140c3a7
24 files changed
+600
-74
No files matched your search
@@ -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"
|
||||
}
|
||||
Reference in new issue
Block a user