File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/main/java/com/neuronrobotics/bowlerstudio/scripting Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 6969import net .sf .sevenzipjbinding .impl .RandomAccessFileInStream ;
7070
7171public class DownloadManager {
72+ private static String STUDIO_INSTALL = "BowlerStudioInstall" ;
7273 private static String editorsURL = "https://github.com/CommonWealthRobotics/ExternalEditorsBowlerStudio.git" ;
73- private static String bindir = System .getProperty ("user.home" ) + delim ()+"bin" +delim ()+"BowlerStudioInstall" +delim ();
74+ private static String bindir = System .getProperty ("user.home" ) + delim ()+"bin" +delim ()+getSTUDIO_INSTALL () +delim ();
7475 private static int ev = 0 ;
7576 private static String cmd = "" ;
7677 private static IDownloadManagerEvents downloadEvents = new IDownloadManagerEvents () {
@@ -1045,5 +1046,11 @@ public static void setDownloadEvents(IDownloadManagerEvents de) {
10451046 if (downloadEvents !=null )
10461047 downloadEvents = de ;
10471048 }
1049+ public static String getSTUDIO_INSTALL () {
1050+ return STUDIO_INSTALL ;
1051+ }
1052+ public static void setSTUDIO_INSTALL (String sTUDIO_INSTALL ) {
1053+ STUDIO_INSTALL = sTUDIO_INSTALL ;
1054+ }
10481055
10491056}
You can’t perform that action at this time.
0 commit comments