@@ -26,6 +26,14 @@ namespace QuestAppLauncher
|
||||
|
||||
// Download repos
|
||||
public const string DownloadRepo_Type_GitHub = "github";
|
||||
|
||||
/// <summary>
|
||||
/// Asset source backed by a plain HTTP endpoint that hosts a manifest JSON.
|
||||
/// <c>repoUri</c> should be the full URL to the manifest file.
|
||||
/// Manifest format: { "files": [ { "name": "iconpack_v1.zip", "url": "...", "updatedAt": "..." } ] }
|
||||
/// </summary>
|
||||
public const string DownloadRepo_Type_Http = "http";
|
||||
|
||||
public const string DownloadRepo_Default = @"hooverhigh/QuestAppLauncher_Assets/releases/latest";
|
||||
|
||||
// Background
|
||||
@@ -72,9 +80,16 @@ namespace QuestAppLauncher
|
||||
// Background image path
|
||||
public string background = Background_Default;
|
||||
|
||||
// Github download repos
|
||||
// Download repos
|
||||
public List<DownloadRepo> downloadRepos = new List<DownloadRepo>();
|
||||
|
||||
/// <summary>
|
||||
/// Optional URL for the managed-policy endpoint.
|
||||
/// When non-empty, policies are fetched from this URL on every startup.
|
||||
/// Can also be set at compile time via the DEV_ENDPOINT scripting define.
|
||||
/// </summary>
|
||||
public string managedPolicyEndpoint = "";
|
||||
|
||||
public Config(bool initDefaults = false)
|
||||
{
|
||||
if (initDefaults)
|
||||
|
||||
Reference in New Issue
Block a user