Skip to content

Commit

Permalink
Update: SynchronizerService.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Oct 30, 2024
1 parent 4ec3c56 commit 780f0e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NexusMods.DataModel/Synchronizer/SynchronizerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ private void ThrowIfMainBinaryInUse(Loadout.ReadOnly loadout)
.Combine(loadout.InstallationInstance.LocationsRegister[LocationId.Game]);
if (IsFileInUse(primaryFile))
throw new ExecutableInUseException("Game's main executable file is in use.\n" +
"This is an indicator the game may have been started outside of the App; and therefore files may be in use.");
"This is an indicator the game may have been started outside of the App; and therefore files may be in use.\n" +
"This means that we are unable to perform a Synchronize (Apply) operation.");
return;

static bool IsFileInUse(AbsolutePath filePath)
Expand Down

0 comments on commit 780f0e7

Please sign in to comment.