Added support for workshop install for other platforms (MacOS is likely still borked, but I don't have a Mac to test it)
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Barotrauma
|
||||
string[] filesToUpdate = new string[]
|
||||
{
|
||||
"Barotrauma.dll", "Barotrauma.deps.json", "Barotrauma.pdb",
|
||||
"0harmony.dll", "Mono.Cecil.dll",
|
||||
"0Harmony.dll", "Mono.Cecil.dll",
|
||||
"Sigil.dll",
|
||||
"Mono.Cecil.Mdb.dll", "Mono.Cecil.Pdb.dll",
|
||||
"Mono.Cecil.Rocks.dll", "MonoMod.Common.dll",
|
||||
|
||||
@@ -1272,14 +1272,11 @@ namespace Barotrauma
|
||||
GameMain.LuaCs.ToggleDebugger(port);
|
||||
}));
|
||||
|
||||
#if WINDOWS
|
||||
commands.Add(new Command("install_cl_lua|install_cl|install_cl_cs|install_cl_luacs", "Installs Client-Side LuaCs into your client.", (string[] args) =>
|
||||
{
|
||||
LuaCsInstaller.Install();
|
||||
}));
|
||||
|
||||
#endif
|
||||
|
||||
commands.Add(new Command("randomizeseed", "randomizeseed: Toggles level seed randomization on/off.", (string[] args) =>
|
||||
{
|
||||
GameMain.Server.ServerSettings.RandomizeSeed = !GameMain.Server.ServerSettings.RandomizeSeed;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Barotrauma
|
||||
string[] filesToCopy = new string[]
|
||||
{
|
||||
"Barotrauma.dll", "Barotrauma.deps.json", "Barotrauma.pdb",
|
||||
"0harmony.dll", "Mono.Cecil.dll",
|
||||
"0Harmony.dll", "Mono.Cecil.dll",
|
||||
"Sigil.dll",
|
||||
"Mono.Cecil.Mdb.dll", "Mono.Cecil.Pdb.dll",
|
||||
"Mono.Cecil.Rocks.dll", "MonoMod.Common.dll",
|
||||
|
||||
@@ -32,7 +32,14 @@ namespace Barotrauma
|
||||
{
|
||||
public const string LuaSetupFile = "Lua/LuaSetup.lua";
|
||||
public const string VersionFile = "luacsversion.txt";
|
||||
#if WINDOWS
|
||||
public static ContentPackageId LuaForBarotraumaId = new SteamWorkshopId(2559634234);
|
||||
#elif LINUX
|
||||
public static ContentPackageId LuaForBarotraumaId = new SteamWorkshopId(2970628943);
|
||||
#elif OSX
|
||||
public static ContentPackageId LuaForBarotraumaId = new SteamWorkshopId(2970890020);
|
||||
#endif
|
||||
|
||||
public static ContentPackageId CsForBarotraumaId = new SteamWorkshopId(2795927223);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user