mirror of
https://github.com/bwya77/vscode-dark-islands.git
synced 2026-05-09 08:25:35 +02:00
[PR #130] Refactor bootstrap script #133
Labels
No labels
bug
bug
duplicate
enhancement
enhancement
Missing Info
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vscode-dark-islands#133
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bwya77/vscode-dark-islands/pull/130
Author: @marcus-miccelli
Created: 5/4/2026
Status: 🔄 Open
Base:
main← Head:main📝 Commits (2)
807ba39Refactor bootstrap script for improved error handling and temporary directory managementc2cbfcbFixed emoji echos📊 Changes
1 file changed (+36 additions, -16 deletions)
View changed files
📝
bootstrap.ps1(+36 -16)📄 Description
Summary
This PR hardens
bootstrap.ps1so the Windows bootstrap installer handles common failure cases more reliably.Issues
$InstallDirwas assumed to exist or be created bygit clone.git clonefailures were not reliably caught because native command failures do not always triggertry/catchin Windows PowerShell.$InstallDir, which could prevent cleanup from deleting the temp folder on Windows.exit 1could close the user’s current PowerShell session when run throughirm ... | iex.install.ps1directly could be affected by PowerShell execution policy.Fixes
$LASTEXITCODEaftergit cloneand the installer process.install.ps1through a child PowerShell process with-ExecutionPolicy Bypass.returninstead ofexit 1in bootstrap failure paths.try/catchand reports when files are kept.echostrings to use regular quotes, avoiding issues from copied smart/backwards quotes.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.