Add stats collection and first-run on-glasses onboarding app

This commit is contained in:
James Babcock committed 2026-10-10 17:33:32 -07:00
1 parent 84baee9c76
commit 406cefe0c5
73 files changed
+3906 -98

No files matched your search

+5
View File
@@ -44,6 +44,11 @@ export type InstalledFont = {
monospace: boolean;
};
/** Whether `fileName` is one of the fonts the app ships, rather than one the user installed. */
export function isPreinstalledFont(fileName: string): boolean {
return (PREINSTALLED_FONT_FILES as readonly string[]).includes(fileName);
}
/** The app-internal fonts directory (created on first use). */
export function installedFontsDir(): string {
return knownFolders.documents().getFolder("fonts").path;