1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
shaoying 2020-10-09 20:14:28 +08:00
parent 99d8f392ff
commit 705e81222d
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

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

View File

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