Browse code

Added a new action to the GUI action list: "Open config folder of [name of folder containing Ramize-Physave]"

And added an "Update apbin copy" script, which uses ReplicatorBeam to
update the /root/apbin/ copy of Ramize-Physave.

Apollia authored on09/12/2018 14:41:48
Showing2 changed files
... ...
@@ -45,6 +45,7 @@ readonly Foldername____Ramphys=$(basename "$Follpath____Ramphys")
45 45
 Action____Physave="Physave"
46 46
 Action____Ramize="Ramize"
47 47
 Action____Open_Folder="Open $Foldername____Ramphys Folder"
48
+Action____Open_Config="Open config folder of $Foldername____Ramphys"
48 49
 Action____Go_to_Physave_Path="Go to Physave Path"
49 50
 Action____Go_to_Ramize_Path="Go to Ramize Path"
50 51
 
... ...
@@ -59,6 +60,7 @@ List____Vars_to_Export=(
59 60
 		"Action____Physave"
60 61
 		"Action____Ramize"
61 62
 		"Action____Open_Folder"
63
+		"$Action____Open_Config"
62 64
 		"Action____Go_to_Physave_Path"
63 65
 		"Action____Go_to_Ramize_Path"
64 66
 	)
... ...
@@ -164,6 +166,11 @@ Do_Action()
164 166
 			rox
165 167
 			;;
166 168
 			
169
+		"$Action____Open_Config")
170
+			cd "$Follpath____Ramphys/0000-Config"
171
+			rox
172
+			;;
173
+			
167 174
 		"$Action____Physave")
168 175
 			cd "$Follpath____Ramphys/Physave"
169 176
 			rox "Physave"
... ...
@@ -234,6 +241,7 @@ MAIN_DIALOG+='<list>
234 241
 MAIN_DIALOG+="<item>$Action____Go_to_Ramize_Path</item>"
235 242
 MAIN_DIALOG+="<item>$Action____Go_to_Physave_Path</item>"
236 243
 MAIN_DIALOG+="<item>$Action____Physave</item>"
244
+MAIN_DIALOG+="<item>$Action____Open_Config</item>"
237 245
 MAIN_DIALOG+="<item>$Action____Open_Folder</item>"
238 246
 MAIN_DIALOG+="<item>$Action____Ramize</item>"
239 247
 
240 248
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+#!/bin/bash
2
+
3
+readonly Fillepath____This_Script=$(realpath "${BASH_SOURCE[0]}")
4
+readonly Follpath____This_Script=$(dirname "$Fillepath____This_Script")
5
+
6
+
7
+ReplicatorBeam --source "$Follpath____This_Script" --dest "/root/apbin/Ramize-Physave/Default-Version" --energize
0 8
\ No newline at end of file