贪玩群演 (@osozos)静默重置 Windows 上 typora 试用期 中发帖

reset.ps1 
#Requires -Version 5.0

$today = Get-Date
$regPath = "HKCU:\SOFTWARE\Typora"
$appData = [Environment]::GetFolderPath("ApplicationData")
$typoraPath = Join-Path -Path $appData -ChildPath "Typora"
$regExists = Test-Path $regPath
$dirExists = Test-Path $typoraPath
$earliestCreationTime = $null

if (-not $regExists -and -not $dirExists) {
Write-Host "⏭️ (跳过:未找到 Typora 试用数据)" -Foregroun...