1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-07-16 10:54:32 +08:00
parent 7214a38d52
commit 36f1fe2a7b
3 changed files with 4 additions and 4 deletions

View File

@ -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, "空间", `
比虚拟机和容器更加轻量每个空间都是一个完整的系统拥有各种软件与独立的环境
空间内所有的软件配置数据以源码库形式保存每个空间都可以随时启动停止上传下载分享
每个空间都自带软件开发工具也可以随时编程添加新的功能

View File

@ -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)

View File

@ -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)