Skip to content

Commit

Permalink
1.3.0.1 - HotFix
Browse files Browse the repository at this point in the history
## Hot-fix : an incorrect variable was causing the program to not start.
  • Loading branch information
MoDuLah committed Sep 12, 2024
1 parent df0acbd commit 01ddc51
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion App.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<value />
</setting>
<setting name="version" serializeAs="String">
<value>1.3.0.0</value>
<value>1.3.0.1</value>
</setting>
<setting name="runTimes" serializeAs="String">
<value>0</value>
Expand Down
8 changes: 4 additions & 4 deletions MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ private void btnRefresh_Click(object sender, RoutedEventArgs e)
private void LoadBackups()
{
string backupPath;
if (!Directory.Exists(userSelectedBackupFolder) && !string.IsNullOrEmpty(userSelectedBackupFolder))
if (!Directory.Exists(defaultBackupFolder) && string.IsNullOrEmpty(userSelectedBackupFolder))
{
Directory.CreateDirectory(userSelectedBackupFolder);
ShowError($"Backup path created at: {userSelectedBackupFolder}");
backupPath = userSelectedBackupFolder;
Directory.CreateDirectory(defaultBackupFolder);
ShowError($"Backup path created at: {defaultBackupFolder}");
backupPath = defaultBackupFolder;
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Value Profile="(Default)" />
</Setting>
<Setting Name="version" Type="System.String" Scope="User">
<Value Profile="(Default)">1.3.0.0</Value>
<Value Profile="(Default)">1.3.0.1</Value>
</Setting>
<Setting Name="runTimes" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
Expand Down
1 change: 1 addition & 0 deletions TDU2SaveGameManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<Product>TDU2SaveGameManager</Product>
<Copyright>Copyright © MoDuLah 2024</Copyright>
<Description>Backup and Restore your saves in an easy way.</Description>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
Expand Down
Binary file added repository.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 01ddc51

Please sign in to comment.