mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
99d8f392ff
commit
705e81222d
2
go.mod
2
go.mod
@ -4,7 +4,7 @@ go 1.13
|
||||
|
||||
require (
|
||||
github.com/shylinux/golang-story v0.0.0-00010101000000-000000000000
|
||||
github.com/shylinux/icebergs v0.2.7
|
||||
github.com/shylinux/icebergs v0.2.9
|
||||
github.com/shylinux/linux-story v0.0.0-00010101000000-000000000000
|
||||
github.com/shylinux/mysql-story v0.0.0-00010101000000-000000000000
|
||||
github.com/shylinux/nginx-story v0.0.0-00010101000000-000000000000
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/relay.json")}
|
||||
args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/"+path.Base(os.Args[0])+".json")}
|
||||
args = append(args, os.Args[1:]...)
|
||||
print(ice.Run(args...))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user