Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
Fix version check regex
Browse files Browse the repository at this point in the history
  • Loading branch information
SDSkyKlouD committed Jun 22, 2019
1 parent decc833 commit bc0f817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuiqCompose/Classes/ConfigurationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ internal static bool Load() {
/* Step 4. Check deserialized configuration instance */
if(ConfigurationInstance != null
&& !string.IsNullOrWhiteSpace(ConfigurationInstance.AppVersion)
&& new Regex(@"\d+\.\d+\.\d+\.\d+").IsMatch(ConfigurationInstance.AppVersion)
&& new Regex(@"(?:\d+\.\d+\.\d+\.\d+)|(?:\d{8})").IsMatch(ConfigurationInstance.AppVersion)
&& ConfigurationInstance.AccountInformations != null
&& ConfigurationInstance.UIConfigurations != null) {
IsConfigurationLoaded = true;
Expand Down

0 comments on commit bc0f817

Please sign in to comment.