generated from azures04/Photino-Boilerplate
Big commit
This commit is contained in:
19
src/main/Constants.cs
Normal file
19
src/main/Constants.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
using BrikInstaller.Utils;
|
||||
|
||||
namespace BrikInstaller;
|
||||
|
||||
public static class Constants {
|
||||
public static readonly JsonSerializerOptions _jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase };
|
||||
public static readonly string os = OsHelper.getOperatingSystem();
|
||||
public static readonly string arch = OsHelper.getArchitecture();
|
||||
|
||||
public static readonly string env = "DEV";
|
||||
public static readonly string __dirname = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!;
|
||||
public static readonly string BaseDirectory = AppDomain.CurrentDomain.BaseDirectory;
|
||||
|
||||
public static class URLs {
|
||||
public static readonly string basePoint = "https://brik.azures.fr/products";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user