forked from Blendman974/faceclaw
Display link to EvenHub apps' privacy policy on first run
This commit is contained in:
1 parent
604da990a1
commit
526a236193
9 files changed
+361
-29
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user