tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IPlatformIdentifier.cs
Go to the documentation of this file.
1using System.Runtime.Versioning;
2
4{
8 public interface IPlatformIdentifier
9 {
13 [SupportedOSPlatformGuard("windows")]
14 bool IsWindows { get; }
15
19 string ScriptFileExtension { get; }
20
26 string NormalizePath(string path);
27 }
28}
For identifying the current platform.
string ScriptFileExtension
The extension of executable script files for the system.
string NormalizePath(string path)
Normalize a path for consistency.
bool IsWindows
If the current platform is a Windows platform.