Skip to content

Commit 53bb35b

Browse files
committed
feat: add firefox support for browser bookmarks #4354 #build
1 parent 1d8786b commit 53bb35b

26 files changed

+1845
-1112
lines changed

wox.core/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ import (
4949
_ "wox/plugin/system/emoji"
5050

5151
_ "wox/plugin/system/explorer"
52+
53+
_ "wox/plugin/system/browser_bookmark"
5254
)
5355

5456
func main() {

wox.core/plugin/api.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ func (a *APIImpl) SaveSetting(ctx context.Context, key string, value string, isP
262262
a.pluginInstance.Setting.Set(finalKey, value)
263263
if !exist || (existValue != value) {
264264
for _, callback := range a.pluginInstance.SettingChangeCallbacks {
265-
callback(ctx, key, value)
265+
util.Go(ctx, "plugin setting change callback", func() {
266+
callback(ctx, key, value)
267+
})
266268
}
267269
}
268270
}

wox.core/plugin/system/browser_bookmark.go

Lines changed: 0 additions & 323 deletions
This file was deleted.

0 commit comments

Comments
 (0)