Skip to content

Commit 2f9dc63

Browse files
committed
If packaged, use raw vic-cloud github asset rather than local file
1 parent 8a3b163 commit 2f9dc63

File tree

1 file changed

+1
-1
lines changed
  • chipper/pkg/wirepod/setup

1 file changed

+1
-1
lines changed

chipper/pkg/wirepod/setup/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func SetupBotViaSSH(ip string, key []byte) error {
117117
return doErr(err, "copying server-config.json")
118118
}
119119
scpClient.Session.Close()
120-
if runtime.GOOS != "android" {
120+
if runtime.GOOS != "android" || !vars.Packaged {
121121
cloud, err := os.Open("../vector-cloud/build/vic-cloud")
122122
if err != nil {
123123
return doErr(err, "transferring new vic-cloud")

0 commit comments

Comments
 (0)