@@ -13,8 +13,8 @@ namespace FAES_GUI
1313{
1414 static class Program
1515 {
16- private const string devAppendTag = "BETA 4 " ;
17- private const string betaAppendTag = "" ;
16+ private const string devAppendTag = "" ;
17+ private const string betaAppendTag = "BETA 5 " ;
1818
1919 private static bool _verbose = false ;
2020 private static bool _purgeTemp = false ;
@@ -24,6 +24,8 @@ static class Program
2424 private static bool _showProgress = false ;
2525 private static bool _overwriteDuplicates = false ;
2626 private static bool _deleteOriginalFile = true ;
27+ private static bool _genFullInstallConfig = false ;
28+ private static string _installBranch ;
2729 private static string _directory = null ;
2830 private static string _password ;
2931 private static string _passwordHint = null ;
@@ -74,6 +76,8 @@ static void Main(string[] args)
7476 else if ( ( strippedArg == "level" || strippedArg == "compressionlevel" || strippedArg == "l" ) && ! string . IsNullOrEmpty ( args [ i + 1 ] ) ) Int32 . TryParse ( args [ i + 1 ] , out _compressionLevel ) ;
7577 else if ( strippedArg == "overwrite" || strippedArg == "overwriteduplicates" || strippedArg == "o" ) _overwriteDuplicates = true ;
7678 else if ( strippedArg == "preserveoriginal" || strippedArg == "original" || strippedArg == "po" ) _deleteOriginalFile = false ;
79+ else if ( strippedArg == "genFullInstallConfig" ) _genFullInstallConfig = true ;
80+ else if ( strippedArg == "installBranch" && ! string . IsNullOrEmpty ( args [ i + 1 ] ) ) _installBranch = args [ i + 1 ] ;
7781
7882 _strippedArgs . Add ( strippedArg ) ;
7983 }
@@ -257,6 +261,11 @@ static void Main(string[] args)
257261 HandleException ( e ) ;
258262 }
259263 }
264+ else if ( _genFullInstallConfig )
265+ {
266+ programManager = new ProgramManager ( ProgramManager . InstallType . FullInstall ) ;
267+ programManager . SetBranch ( _installBranch ) ;
268+ }
260269 else
261270 {
262271 programManager = new ProgramManager ( ) ;
@@ -340,12 +349,12 @@ public static bool IsStableBuild()
340349
341350 public static bool IsBetaBuild ( )
342351 {
343- return ( ! String . IsNullOrEmpty ( devAppendTag ) && String . IsNullOrEmpty ( betaAppendTag ) ) ;
352+ return ! String . IsNullOrWhiteSpace ( betaAppendTag ) ;
344353 }
345354
346355 public static bool IsDevBuild ( )
347356 {
348- return ! String . IsNullOrEmpty ( devAppendTag ) ;
357+ return ! String . IsNullOrWhiteSpace ( devAppendTag ) ;
349358 }
350359
351360 public static string GetBuild ( )
0 commit comments