@@ -81,7 +81,7 @@ namespace QuestAppLauncher
|
||||
public static readonly string[] Auto_Tabs = { Tab_Quest, Tab_2D };
|
||||
|
||||
/// <summary>
|
||||
/// Entry point for app processing: Applies app name overrides (from appnames.txt/json) and app icons (from individual jpgs or icon packs).
|
||||
/// Entry point for app processing: Applies app name overrides (from appnames*.json) and app icons (from individual jpgs or icon packs).
|
||||
/// Handles extraction of icon packs if zip file modified. Returns a list of processed apps.
|
||||
/// </summary>
|
||||
/// <param name="config">Application config</param>
|
||||
|
||||
@@ -352,9 +352,7 @@ namespace QuestAppLauncher
|
||||
var url = property["url"].Value<string>();
|
||||
var name = property["name"].Value<string>();
|
||||
|
||||
// For now, simply accept any iconpack*.zip and appnames*.txt/json.
|
||||
if ((name.StartsWith("iconpack") && name.EndsWith(".zip")) ||
|
||||
(name.StartsWith("appnames") && name.EndsWith(".txt")) ||
|
||||
(name.StartsWith("appnames") && name.EndsWith(".json")))
|
||||
{
|
||||
assetsInfo[name] = new AssetInfo { RepoUri = repoUri, Url = url, UpdatedAt = updatedAt, TagName = tagName };
|
||||
@@ -435,7 +433,7 @@ namespace QuestAppLauncher
|
||||
|
||||
// Accept the same file naming conventions as the GitHub path
|
||||
if ((name.StartsWith("iconpack") && name.EndsWith(".zip")) ||
|
||||
(name.StartsWith("appnames") && (name.EndsWith(".txt") || name.EndsWith(".json"))))
|
||||
(name.StartsWith("appnames") && name.EndsWith(".json")))
|
||||
{
|
||||
assetsInfo[name] = new AssetInfo { RepoUri = manifestUrl, Url = url, UpdatedAt = updatedAt };
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace QuestAppLauncher
|
||||
// Auto Category: Apps are automatically categorized into 3 tabs - Quest, Go/GearVr, 2D
|
||||
public string autoCategory = Category_Top;
|
||||
|
||||
// Custom Category: Apps are categorized according to appnames.txt file
|
||||
// Custom Category: Apps are categorized according to appnames.json
|
||||
public string customCategory = Category_Right;
|
||||
|
||||
// Whether to auto-download updates
|
||||
|
||||
@@ -59,7 +59,7 @@ Key settings:
|
||||
|
||||
### Custom app names and icons
|
||||
|
||||
Place `appnames.json` or `appnames*.txt` in the persistent data path to rename apps and assign them to tabs. Place `iconpack*.zip` files (containing `<packageName>.jpg` entries) or individual `<packageName>.jpg` files to override icons.
|
||||
Place `appnames.json` (or `appnames*.json`) in the persistent data path to rename apps and assign them to tabs. Place `iconpack*.zip` files (containing `<packageName>.jpg` entries) or individual `<packageName>.jpg` files to override icons.
|
||||
|
||||
See [docs.md](docs.md) for the full format reference, all config fields, managed policy details, and useful `adb` commands.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user