fix: correct Windows package installation script generation

- Fixed package identifier usage: now uses `name` field (winget ID) instead of `id` field throughout Windows script
- Enhanced error handling with exit code checking and consistent [OK]/[ERROR] prefixes for better visibility
- Standardized PowerShell string quotes to single quotes for consistency
This commit is contained in:
Yusuf İpek
2025-11-11 16:26:51 +03:00
parent 299e951368
commit 40a34d7133
3 changed files with 15 additions and 10 deletions
+1
View File
@@ -17,6 +17,7 @@ export interface Package {
platform?: string | Platform
platform_id?: string
repository: 'official' | 'third-party'
download_url?: string
lastUpdated?: string
downloads?: number
popularity?: number