We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9dc63 commit 71e0944Copy full SHA for 71e0944
chipper/pkg/vars/vars.go
@@ -22,6 +22,8 @@ var VarsInited bool
22
// if compiled into an installation package. wire-pod will use os.UserConfigDir()
23
var Packaged bool
24
25
+var IsPackagedLinux bool
26
+
27
var AndroidPath string
28
29
var (
chipper/pkg/wirepod/setup/ssh.go
@@ -51,6 +51,9 @@ func SetupBotViaSSH(ip string, key []byte) error {
51
if runtime.GOOS == "android" || runtime.GOOS == "ios" {
52
SetupScriptPath = vars.AndroidPath + "/static/pod-bot-install.sh"
53
}
54
+ if vars.IsPackagedLinux {
55
+ SetupScriptPath = "./pod-bot-install.sh"
56
+ }
57
if !SSHSettingUp {
58
logger.Println("Setting up " + ip + " via SSH")
59
SetupSSHStatus = "Setting up SSH connection..."
0 commit comments