Added debug symbols to the installer script

This commit is contained in:
EvilFactory
2023-03-06 12:59:55 -03:00
parent 4e0f2e1a49
commit e8ca69dede
2 changed files with 18 additions and 19 deletions
@@ -23,7 +23,7 @@ namespace Barotrauma
string[] filesToRemove = new string[]
{
"Barotrauma.dll", "Barotrauma.deps.json",
"Barotrauma.dll", "Barotrauma.deps.json", "Barotrauma.pdb",
"System.Reflection.Metadata.dll", "System.Collections.Immutable.dll",
"System.Runtime.CompilerServices.Unsafe.dll"
};
@@ -69,16 +69,14 @@ namespace Barotrauma
if (clientVersion == workshopVersion) { return; }
string additional = LuaCsSetup.GetPackage(LuaCsSetup.CsForBarotraumaId, false, true) == null ? "" : "Cs";
var msg = new GUIMessageBox($"Lua{additional} Update", $"Your Lua{additional} client version is different from the version found in the Lua{additional}ForBarotrauma workshop files. Do you want to update?\n\n Client Version: {clientVersion}\n Workshop Version: {workshopVersion}",
var msg = new GUIMessageBox($"LuaCs Update", $"Your LuaCs client version is different from the version found in the LuaCsForBarotrauma workshop files. Do you want to update?\n\n Client Version: {clientVersion}\n Workshop Version: {workshopVersion}",
new LocalizedString[2] { TextManager.Get("Yes"), TextManager.Get("Cancel") });
msg.Buttons[0].OnClicked = (GUIButton button, object obj) =>
{
string[] filesToUpdate = new string[]
{
"Barotrauma.dll", "Barotrauma.deps.json",
"Barotrauma.dll", "Barotrauma.deps.json", "Barotrauma.pdb",
"0harmony.dll", "Mono.Cecil.dll",
"Sigil.dll",
"Mono.Cecil.Mdb.dll", "Mono.Cecil.Pdb.dll",
@@ -123,7 +121,7 @@ namespace Barotrauma
return true;
}
new GUIMessageBox("Restart", $"Lua{additional} updated! Restart your game to apply the changes.");
new GUIMessageBox("Restart", $"LuaCs updated! Restart your game to apply the changes.");
msg.Close();
return true;