mirror of
https://github.com/nsnail/dot.git
synced 2025-04-19 03:42:49 +08:00
fix: 🐛 构建脚本缺陷 (#15)
This commit is contained in:
parent
d50e5b2d27
commit
d4d5467656
@ -6,6 +6,6 @@ git add ../
|
|||||||
git pull
|
git pull
|
||||||
git push --set-upstream origin $branch
|
git push --set-upstream origin $branch
|
||||||
Start-Process -FilePath "https://github.com/nsnail/dot/compare/main...$branch"
|
Start-Process -FilePath "https://github.com/nsnail/dot/compare/main...$branch"
|
||||||
启用写入模式-Host "按『Enter』重建分支,『Ctrl+C』退出"
|
Write-Host "按『Enter』重建分支,『Ctrl+C』退出"
|
||||||
Pause
|
Pause
|
||||||
./git.rc.ps1
|
./git.rc.ps1
|
@ -13,11 +13,11 @@ $file = 9999
|
|||||||
while ($null -eq $files[[int]$file - 1])
|
while ($null -eq $files[[int]$file - 1])
|
||||||
{
|
{
|
||||||
$i = 0
|
$i = 0
|
||||||
启用写入模式-Host '请选择要切换的配置文件文件'
|
Write-Host '请选择要切换的配置文件文件'
|
||||||
foreach ($file in $files)
|
foreach ($file in $files)
|
||||||
{
|
{
|
||||||
$i++
|
$i++
|
||||||
启用写入模式-Host $i $file.Name
|
Write-Host $i $file.Name
|
||||||
}
|
}
|
||||||
$file = 读取-Host
|
$file = 读取-Host
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user