mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
42bf71024f
2 changed files with 12 additions and 2 deletions
|
|
@ -27,11 +27,11 @@ win:
|
|||
target:
|
||||
- target: "nsis"
|
||||
nsis:
|
||||
oneClick: true
|
||||
oneClick: false
|
||||
perMachine: false
|
||||
allowToChangeInstallationDirectory: false
|
||||
allowElevation: true
|
||||
deleteAppDataOnUninstall: false
|
||||
deleteAppDataOnUninstall: true
|
||||
createDesktopShortcut: true
|
||||
createStartMenuShortcut: true
|
||||
shortcutName: "SiYuan"
|
||||
|
|
|
|||
|
|
@ -257,11 +257,21 @@ func isLegacyDynamicBlockRef(blockRef *ast.Node) bool {
|
|||
|
||||
func init() {
|
||||
eventbus.Subscribe(eventbus.EvtSQLInsertBlocks, func(context map[string]interface{}, blockCount int, hash string) {
|
||||
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
|
||||
// Android/iOS 端不显示数据索引和搜索索引状态提示 https://github.com/siyuan-note/siyuan/issues/6392
|
||||
return
|
||||
}
|
||||
|
||||
msg := fmt.Sprintf(Conf.Language(89), blockCount, hash)
|
||||
util.SetBootDetails(msg)
|
||||
util.ContextPushMsg(context, msg)
|
||||
})
|
||||
eventbus.Subscribe(eventbus.EvtSQLInsertBlocksFTS, func(context map[string]interface{}, blockCount int, hash string) {
|
||||
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
|
||||
// Android/iOS 端不显示数据索引和搜索索引状态提示 https://github.com/siyuan-note/siyuan/issues/6392
|
||||
return
|
||||
}
|
||||
|
||||
msg := fmt.Sprintf(Conf.Language(90), blockCount, hash)
|
||||
util.SetBootDetails(msg)
|
||||
util.ContextPushMsg(context, msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue