Skip to content

Commit

Permalink
Fix reload error when using installer on project that already has vrc…
Browse files Browse the repository at this point in the history
…f installed
  • Loading branch information
SenkyDragon committed Dec 28, 2023
1 parent 35cf0b7 commit b5da83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com.vrcfury.installer/VRCFuryInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private static async Task InstallUnsafe() {
return changed;
});
if (restarting) {
RefreshPackages();
await InMainThread(() => { RefreshPackages(); });
// Unity will probably unload us during this pause, but that's fine, we'll just start over.
// We need to make sure unity has totally forgotten about com.vrcfury.vrcfury before we install
// the new one, otherwise it will delete our new com.vrcfury.vrcfury folder when it cleans up
Expand Down

0 comments on commit b5da83e

Please sign in to comment.