From 1aeebe6c9c6969d43716f0a9d89fc5bf3a426ce7 Mon Sep 17 00:00:00 2001 From: oxmc7769 Date: Wed, 18 Mar 2026 09:36:36 -0700 Subject: [PATCH] Remove remaining .txt --- Assets/Scripts/AppProcessor.cs | 2 +- Assets/Scripts/AssetsDownloader.cs | 4 +--- Assets/Scripts/Config.cs | 2 +- README.md | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Assets/Scripts/AppProcessor.cs b/Assets/Scripts/AppProcessor.cs index 5ba3111..bad6819 100644 --- a/Assets/Scripts/AppProcessor.cs +++ b/Assets/Scripts/AppProcessor.cs @@ -81,7 +81,7 @@ namespace QuestAppLauncher public static readonly string[] Auto_Tabs = { Tab_Quest, Tab_2D }; /// - /// 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. /// /// Application config diff --git a/Assets/Scripts/AssetsDownloader.cs b/Assets/Scripts/AssetsDownloader.cs index e4c37c0..da2cc7c 100644 --- a/Assets/Scripts/AssetsDownloader.cs +++ b/Assets/Scripts/AssetsDownloader.cs @@ -352,9 +352,7 @@ namespace QuestAppLauncher var url = property["url"].Value(); var name = property["name"].Value(); - // 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 }; } diff --git a/Assets/Scripts/Config.cs b/Assets/Scripts/Config.cs index 6ade999..c7cc055 100644 --- a/Assets/Scripts/Config.cs +++ b/Assets/Scripts/Config.cs @@ -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 diff --git a/README.md b/README.md index 1d3965e..0bf4737 100644 --- a/README.md +++ b/README.md @@ -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 `.jpg` entries) or individual `.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 `.jpg` entries) or individual `.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.