diff --git a/wox.core/setting/store.go b/wox.core/setting/store.go index d441740e..3b11e3a9 100644 --- a/wox.core/setting/store.go +++ b/wox.core/setting/store.go @@ -20,10 +20,6 @@ type SettingStore interface { Delete(key string) error } -type SynableStore interface { - LogOplog(key string, value interface{}) error -} - type WoxSettingStore struct { db *gorm.DB } diff --git a/wox.core/setting/value.go b/wox.core/setting/value.go index 59684154..b991cd18 100644 --- a/wox.core/setting/value.go +++ b/wox.core/setting/value.go @@ -17,7 +17,6 @@ type SettingValue[T any] struct { defaultValue T settingStore SettingStore - syncStore SynableStore validator ValidatorFunc[T] syncable bool isLoaded bool @@ -170,10 +169,5 @@ func (v *SettingValue[T]) Set(newValue T) error { v.value = newValue v.isLoaded = true - - if v.syncable { - return v.syncStore.LogOplog(v.key, newValue) - } - return nil } diff --git a/wox.core/wox b/wox.core/wox deleted file mode 100755 index dc17b8c2..00000000 Binary files a/wox.core/wox and /dev/null differ