change logging method, update nextcloud installer and url
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user