From 59ef82553f35ee7da0e0048971419801318fe4e2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 2 Jul 2026 15:52:15 +0800 Subject: feat: prompt to remove example scripts after install --- install.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'install.ps1') diff --git a/install.ps1 b/install.ps1 index 6de50d5..9dff1c5 100644 --- a/install.ps1 +++ b/install.ps1 @@ -18,3 +18,13 @@ Start-Sleep -Milliseconds 200 Remove-Item -Path $tempDir -Recurse -Force Write-Host "Done!" + +Write-Host "" +$response = Read-Host "Remove all example scripts? [Y/n]" +if ($response -notmatch '^[nN]') { + Write-Host "Removing example scripts..." + Remove-Item -Path ".run/src/bin/*" -Force + Write-Host "Done!" +} else { + Write-Host "Skipped." +} -- cgit