mirror of
https://github.com/yusufipk/RepoHub.git
synced 2026-09-11 18:46:07 +00:00
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:
@@ -97,7 +97,7 @@ export class WingetPackageFetcher {
|
||||
if (!packageSet.has(identifier)) {
|
||||
packageSet.add(identifier)
|
||||
allPackages.push({
|
||||
name: pkg.name,
|
||||
name: identifier,
|
||||
publisher: publisher.name,
|
||||
version: 'latest',
|
||||
description: `${pkg.name} by ${publisher.name}`
|
||||
|
||||
Reference in New Issue
Block a user