Display link to EvenHub apps' privacy policy on first run

This commit is contained in:
James Babcock committed 2026-08-16 22:33:04 -07:00
1 parent 604da990a1
commit 526a236193
9 files changed
+361 -29

No files matched your search

+9
View File
@@ -157,6 +157,15 @@ export function readEvenHubPackageManifest(path: string): EvenHubManifest | null
}
}
/** Inspect already-loaded package bytes before installation/first-run approval. */
export function readEvenHubPackageManifestBytes(bytes: Uint8Array): EvenHubManifest | null {
try {
return inspectEhpk(bytes).manifest;
} catch {
return null;
}
}
/** Remove the stored EHPK, unpacked runtime files, and registry entry. */
export function uninstallEvenHubPackage(packageId: string): boolean {
const apps = getInstalledEvenHubApps();