change logging method, update nextcloud installer and url

This commit is contained in:
2020-09-10 13:28:30 -04:00
parent eec3875a10
commit 5694bd0842
4 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
## Define URL for downloading the installer
$URL = 'https://download.nextcloud.com/desktop/releases/Windows/Nextcloud-3.0.1-setup.exe'
$FILE = '{0}\{1}.exe' -f $Env:TEMP,(Split-Path $URL -Leaf)
$URL = 'https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/resources/Nextcloud-3.0.1-setup.exe'
$FILE = Split-Path $URL -Leaf
## Remove previous package
If ( Test-Path $FILE ) { Remove-Item -Path $FILE -Force | Out-Null}