mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 03:11:45 +00:00
bugfix: rename zip installation directory to avoid conflict with git clone
This commit is contained in:
parent
406367b2eb
commit
c15f2c800c
@ -51,8 +51,8 @@ cloning the repository or directly execute it from shell:
|
|||||||
|
|
||||||
```pwsh
|
```pwsh
|
||||||
irm https://api.github.com/repos/Baipyrus/dotfiles/zipball -O "$env:TMP\dotfiles.zip"
|
irm https://api.github.com/repos/Baipyrus/dotfiles/zipball -O "$env:TMP\dotfiles.zip"
|
||||||
Expand-Archive "$env:TMP\dotfiles.zip" -D "$env:TMP\dotfiles" -F
|
Expand-Archive "$env:TMP\dotfiles.zip" -D "$env:TMP\dotfiles-zip" -F
|
||||||
gci "$env:TMP\dotfiles\**\install_windows.ps1" | % {
|
gci "$env:TMP\dotfiles-zip\**\install_windows.ps1" | % {
|
||||||
saps powershell.exe -Wait -Wo $_.DirectoryName -A "-Ex", "Bypass", "-F", $_.FullName
|
saps powershell.exe -Wait -Wo $_.DirectoryName -A "-Ex", "Bypass", "-F", $_.FullName
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user