projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor(webi): finally remove use of pkg_get_current_version
[webi-installers/.git]
/
syncthing
/
install.ps1
diff --git
a/syncthing/install.ps1
b/syncthing/install.ps1
index 08472344e44d84cebc9c09b05bb11e2bc29ae6ac..af5f04a454ace03149320bd8fdf04773ef8d0b70 100644
(file)
--- a/
syncthing/install.ps1
+++ b/
syncthing/install.ps1
@@
-15,10
+15,11
@@
$pkg_src_bin = "$Env:USERPROFILE\.local\opt\syncthing-v$Env:WEBI_VERSION\bin"
$pkg_src_dir = "$Env:USERPROFILE\.local\opt\syncthing-v$Env:WEBI_VERSION"
$pkg_src = "$pkg_src_cmd"
$pkg_src_dir = "$Env:USERPROFILE\.local\opt\syncthing-v$Env:WEBI_VERSION"
$pkg_src = "$pkg_src_cmd"
-$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"
# Fetch archive
# Fetch archive
-IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"))
+IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\
webi\
$Env:WEBI_PKG_FILE"))
{
# TODO: arch detection
echo "Downloading syncthing from $Env:WEBI_PKG_URL to $pkg_download"
{
# TODO: arch detection
echo "Downloading syncthing from $Env:WEBI_PKG_URL to $pkg_download"