Skip to content

Commit 857c306

Browse files
committed
refactor: Update Scoop manifest handling to save directly to root level and remove unnecessary bucket directory creation
1 parent 5e8fe9b commit 857c306

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

scripts/fix-scoop-manifest.ps1

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,10 @@ if (Test-Path 'dist/scoop/zed-cli-win-unofficial.json') {
3131
Write-Host "📄 Updated manifest:"
3232
Write-Host $updatedContent
3333

34-
# Create bucket directory for testing
35-
if (-not (Test-Path 'bucket')) {
36-
New-Item -ItemType Directory -Path 'bucket'
37-
Write-Host ""
38-
Write-Host "📁 Created bucket directory (for testing)"
39-
}
40-
4134
# Save the updated manifest with preserved formatting
42-
$updatedContent | Set-Content 'bucket/zed-cli-win-unofficial.json' -NoNewline
35+
$updatedContent | Set-Content 'zed-cli-win-unofficial.json' -NoNewline
4336
Write-Host ""
44-
Write-Host "💾 Saved updated manifest to bucket/ (for testing)"
37+
Write-Host "💾 Saved updated manifest to root level (for testing)"
4538
Write-Host "✅ Scoop manifest fix test successful!"
4639

4740
}

0 commit comments

Comments
 (0)