savant-scenes 1.0.195 → 1.0.196
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/src/SceneManager.rb +5 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 771321e68027960a4427c10a9ca9515a1392d99f
|
4
|
+
data.tar.gz: 440e23c32435c73a731ac8a09c68be015bed94d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a7fd172f34d1e06d94a5154f7634e4c15baccb00df05b5d18533ce416a4c5f18cd66ec65519289d3e834bee87b01fa18dedcebe8ccc10ea78d555b511ca7bd
|
7
|
+
data.tar.gz: 191778518170464c5384eb1cb9cb440493ee6aefb00dc5974343160cf83a3d5c9bd24784452a3c0cdb6e8e96a7b1d66dd93cd2cf226d99f5a4f88ba3b152aadf
|
data/bin/src/SceneManager.rb
CHANGED
@@ -107,8 +107,9 @@ class SceneManager
|
|
107
107
|
@scliBridge = "~/Applications/RacePointMedia/sclibridge "
|
108
108
|
@dis = "/Users/RPM/Library/Application Support/RacePointMedia/statusfiles/dis/dashboard.sqlite"
|
109
109
|
else
|
110
|
-
@scliBridge = "source ~/.zshrc
|
110
|
+
@scliBridge = "source ~/.zshrc && /usr/local/bin/sclibridge "
|
111
111
|
@dis = "GNUstep/Library/ApplicationSupport/RacePointMedia/statusfiles/dis/dashboard.sqlite"
|
112
|
+
alert @scliBridge
|
112
113
|
end
|
113
114
|
end
|
114
115
|
end
|
@@ -141,7 +142,7 @@ class SceneManager
|
|
141
142
|
end
|
142
143
|
ssh.loop
|
143
144
|
#parse the rpmSystemInfo.plist from the smart host to get host name
|
144
|
-
elsif @scliBridge == "source ~/.zshrc
|
145
|
+
elsif @scliBridge == "source ~/.zshrc && /usr/local/bin/sclibridge "
|
145
146
|
ssh.open_channel do |ch, success|
|
146
147
|
ch.exec("strings 'GNUstep/Library/ApplicationSupport/RacePointMedia/userConfig.rpmConfig/rpmSystemInfo.plist'")
|
147
148
|
ch.on_data do |ch, data|
|
@@ -157,6 +158,7 @@ class SceneManager
|
|
157
158
|
x = data.split('module')
|
158
159
|
x = x[1].split("\n")
|
159
160
|
@savantHostName = x[0][1..-1]
|
161
|
+
alert @savantHostName
|
160
162
|
@str = @scliBridge + "readstate \'" + @savantHostName + ".SoftwareVersion\'"
|
161
163
|
alert @str
|
162
164
|
end
|
@@ -164,7 +166,7 @@ class SceneManager
|
|
164
166
|
end
|
165
167
|
ssh.loop
|
166
168
|
#Get version from file on smart host
|
167
|
-
@savantHostVersion = ssh.exec(@str)
|
169
|
+
@savantHostVersion = ssh.exec!(@str)
|
168
170
|
# ssh.open_channel do |ch, success|
|
169
171
|
# alert "in channel"
|
170
172
|
# ch.exec("strings 'GNUstep/Library/ApplicationSupport/RacePointMedia/statusfiles/scsCredentials.plist'")
|