mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-20 08:56:48 +00:00
refactor!: namespace downloads to ~/Downloads/webi on Windows
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
$pkg_cmd_name = "git"
|
||||
New-Item "$Env:USERPROFILE\Downloads" -ItemType Directory -Force | out-null
|
||||
$pkg_download = "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"
|
||||
New-Item "$Env:USERPROFILE\Downloads\webi" -ItemType Directory -Force | out-null
|
||||
$pkg_download = "$Env:USERPROFILE\Downloads\webi\$Env:WEBI_PKG_FILE"
|
||||
|
||||
$pkg_src = "$Env:USERPROFILE\.local\opt\$pkg_cmd_name-v$Env:WEBI_VERSION"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user