diff --git a/Server/CurrentVersion.txt b/Server/CurrentVersion.txt index 3f6bafa7..cb729d78 100644 --- a/Server/CurrentVersion.txt +++ b/Server/CurrentVersion.txt @@ -1 +1 @@ -2019.06.23.1054 +2019.06.23.1129 diff --git a/Utilities/Install-RemotelyServer.ps1 b/Utilities/Install-RemotelyServer.ps1 index 1ac21967..5c8f2edf 100644 --- a/Utilities/Install-RemotelyServer.ps1 +++ b/Utilities/Install-RemotelyServer.ps1 @@ -264,15 +264,15 @@ while ($Success -eq $false) { ### Download Server Package ### try { - if ((Test-Path -Path "$env:TEMP\Remotely_Server.zip")){ - Remove-Item -Path "$env:TEMP\Remotely_Server.zip" -Force + if ((Test-Path -Path "$env:TEMP\Server.zip")){ + Remove-Item -Path "$env:TEMP\Server.zip" -Force } Wrap-Host "Downloading server package..." [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 - Invoke-WebRequest -Uri "https://remotely.lucency.co/Downloads/win-x64/Remotely_Server.zip" -OutFile "$env:TEMP\Remotely_Server.zip" + Invoke-WebRequest -Uri "https://remotely.lucency.co/Downloads/win-x64/Server.zip" -OutFile "$env:TEMP\Server.zip" Wrap-Host "Extracting server files..." [System.Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem") | Out-Null - [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:TEMP\Remotely_Server.zip", $InstallPath) + [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:TEMP\Server.zip", $InstallPath) } catch { Wrap-Host diff --git a/Utilities/Remotely_Server_Install.sh b/Utilities/Remotely_Server_Install.sh index 76d13318..cbf42932 100644 --- a/Utilities/Remotely_Server_Install.sh +++ b/Utilities/Remotely_Server_Install.sh @@ -26,9 +26,9 @@ apt-get -y install libgdiplus # Download and install Remotely files. mkdir -p $appRoot -wget "https://remotely.lucency.co/Downloads/linux-x64/Remotely_Server.zip" -unzip -o Remotely_Server.zip -d $appRoot -rm Remotely_Server.zip +wget "https://remotely.lucency.co/Downloads/linux-x64/Server.zip" +unzip -o Server.zip -d $appRoot +rm Server.zip setfacl -R -m u:www-data:rwx $appRoot chown -R www-data:www-data $appRoot