mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
add some
This commit is contained in:
parent
a7014de914
commit
5a4b79b4eb
@ -426,9 +426,11 @@ func init() {
|
|||||||
return p + kit.Select("", nfs.PS, len(arg) == 0)
|
return p + kit.Select("", nfs.PS, len(arg) == 0)
|
||||||
} else {
|
} else {
|
||||||
p := m.FileURI(ctx.GetCmdFile(m, m.PrefixKey()))
|
p := m.FileURI(ctx.GetCmdFile(m, m.PrefixKey()))
|
||||||
if p := kit.TrimPrefix(path.Join(path.Dir(p), path.Join(arg...)), nfs.P, nfs.REQUIRE); nfs.Exists(m, p) {
|
m.Info("what %v", p)
|
||||||
return p
|
if pp := kit.TrimPrefix(path.Join(path.Dir(p), path.Join(arg...)), nfs.P, nfs.REQUIRE); nfs.Exists(m, pp) {
|
||||||
|
return pp
|
||||||
}
|
}
|
||||||
|
m.Info("what %v", ice.Info.Important)
|
||||||
if ice.Info.Important {
|
if ice.Info.Important {
|
||||||
return kit.MergeURL2(SpideOrigin(m, ice.OPS)+p, path.Join(arg...))
|
return kit.MergeURL2(SpideOrigin(m, ice.OPS)+p, path.Join(arg...))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user