forked from Blendman974/faceclaw
Add stats collection and first-run on-glasses onboarding app
This commit is contained in:
1 parent
84baee9c76
commit
406cefe0c5
73 files changed
+3906
-98
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user