Skip to content

Commit

Permalink
Merge pull request #83 from BoiHanny/Pre-Master
Browse files Browse the repository at this point in the history
Simplify app location update condition
  • Loading branch information
BoiHanny authored Nov 1, 2024
2 parents d7d9c75 + 8d6054f commit e4e2b93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vrcosc-magicchatbox/Classes/DataAndSecurity/UpdateApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ private void InitializePaths(bool createNewAppLocation)
currentAppPath = appLocation["currentAppPath"].ToString();

// Check if the current app path matches the actual current app path
if (createNewAppLocation || !string.Equals(currentAppPath, actualCurrentAppPath, StringComparison.OrdinalIgnoreCase))
if (createNewAppLocation)
{
// The app has been moved to a new location
Logging.WriteInfo("The application has been moved. Updating app_location.json.");
SetDefaultPaths();
SaveUpdateLocation();
}
Expand Down

0 comments on commit e4e2b93

Please sign in to comment.