Files
sbox-public/engine/Tools/SboxBuild/Platform/LinuxPlatform.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

15 lines
434 B
C#

namespace Facepunch;
/// <summary>
/// Linux platform implementation
/// </summary>
internal class LinuxPlatform : Platform
{
protected override string PlatformBaseName => "linuxsteamrt"; // Fucking make this just "linux" when port is more mature
public override bool CompileSolution( string solutionName, bool forceRebuild = false )
{
return Utility.RunProcess( "make", $"-f {solutionName}.mak SHELL=/bin/bash", "src" );
}
}