Skip to content

Commit

Permalink
Delete luacsversion.txt after update
Browse files Browse the repository at this point in the history
  • Loading branch information
evilfactory committed Aug 30, 2024
1 parent 575b489 commit e79839a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Luatrauma.AutoUpdater/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ public async static Task Update()
}

Logger.Log($"Extracted patch zip to {Directory.GetCurrentDirectory()}");

if (File.Exists("luacsversion.txt")) // Workshop stuff, get rid of it so it doesn't interfere
{
File.Delete("luacsversion.txt");
}
}
}
}

0 comments on commit e79839a

Please sign in to comment.