From 36f1fe2a7b1f13ae5b29e2f2c00eb4df62d294d7 Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 16 Jul 2024 10:54:32 +0800 Subject: [PATCH] add some --- base/web/dream.go | 4 ++-- base/web/store.go | 2 +- core/chat/macos/desktop.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/base/web/dream.go b/base/web/dream.go index fa9647b6..d34a508e 100644 --- a/base/web/dream.go +++ b/base/web/dream.go @@ -152,7 +152,7 @@ func _dream_check(m *ice.Message, name string) string { if pid == "" { return p } - if !kit.HasPrefix(m.Cmdx(nfs.CAT, "/proc/"+pid+"/cmdline"), kit.Path("bin/ice.bin"), kit.Path(p, "bin/ice.bin")) { + if runtime.GOOS == cli.LINUX && !kit.HasPrefix(m.Cmdx(nfs.CAT, "/proc/"+pid+"/cmdline"), kit.Path("bin/ice.bin"), kit.Path(p, "bin/ice.bin")) { return p } if nfs.Exists(m, "/proc/"+pid) { @@ -227,7 +227,7 @@ func init() { ice.CTX_TRANS, kit.Dict(html.INPUT, kit.Dict(WORKER, "空间", SERVER, "门户", ORIGIN, "主机")), ), Actions: ice.MergeActions(ice.Actions{ ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { - AddPortalProduct(m, "空间", ` + AddPortalProduct(m, "云空间", ` 比虚拟机和容器,更加轻量,每个空间都是一个完整的系统,拥有各种软件与独立的环境。 空间内所有的软件、配置、数据以源码库形式保存,每个空间都可以随时启动、停止、上传、下载、分享。 每个空间都自带软件开发工具,也可以随时编程添加新的功能。 diff --git a/base/web/store.go b/base/web/store.go index 5bc159e4..a2b0b138 100644 --- a/base/web/store.go +++ b/base/web/store.go @@ -19,7 +19,7 @@ func init() { Index.MergeCommands(ice.Commands{ STORE: {Name: "store refresh", Help: "商店", Icon: "App Store.png", Role: aaa.VOID, Actions: ice.MergeActions(ice.Actions{ ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { - AddPortalProduct(m, "商店", ` + AddPortalProduct(m, "云商店", ` 每个用户都可以将自己的空间列表,以系统商店的方式分享给其它用户。 同样的每个用户,也可以添加任意多个商店,直接将空间下载到本机使用。 `, 300.0) diff --git a/core/chat/macos/desktop.go b/core/chat/macos/desktop.go index 127552c6..f81547f5 100644 --- a/core/chat/macos/desktop.go +++ b/core/chat/macos/desktop.go @@ -43,7 +43,7 @@ func init() { }}, DESKTOP: {Help: "桌面", Role: aaa.VOID, Actions: ice.MergeActions(ice.Actions{ ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { - web.AddPortalProduct(m, "桌面", ` + web.AddPortalProduct(m, "云桌面", ` 一款网页版的电脑桌面,打开网页即可随时随地的使用各种软件, 无论这些软件是运行在本机,还是远程,还是任何虚拟的空间,无论是内存还是磁盘。 `, 100.0)