Add FileBow Windows app, Store identity and optional Ko-fi link

This commit is contained in:
nordik committed 2026-10-27 01:13:56 +01:00
commit 65cebb31ca
139 files changed
+375057

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Run explicitly in an elevated PowerShell. Trusts only the FileBow development certificate.
[CmdletBinding()]param()
$ErrorActionPreference='Stop'
$root=[IO.Path]::GetFullPath((Join-Path $PSScriptRoot '..'))
$record=Get-Content (Join-Path $root 'out\msix\build-Development.json') -Raw | ConvertFrom-Json
if (-not $record.Signed) { throw 'Zuerst build-msix.ps1 -SignDevelopment ausführen.' }
if ((Get-FileHash $record.Package -Algorithm SHA256).Hash -ne $record.SHA256) { throw 'Paket-Prüfsumme stimmt nicht überein.' }
$cert=[Security.Cryptography.X509Certificates.X509Certificate2]::new($record.Certificate)
if ($cert.Subject -ne 'CN=FileBow Development') { throw 'Unerwartetes Zertifikat.' }
Import-Certificate -FilePath $record.Certificate -CertStoreLocation Cert:\LocalMachine\TrustedPeople | Out-Null
Add-AppxPackage -Path $record.Package