From cdc4e848af6389a9c8dcbf1bf830e6a7e5e1b503 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Wed, 22 May 2019 07:07:38 -0700 Subject: [PATCH] Zip the desktop app. --- .../Remotely_Desktop.Win.csproj | 27 +++++++++++++++++++ Remotely_Server/CurrentVersion.txt | 2 +- Remotely_Server/Pages/Clients.cshtml | 8 ++---- Utilities/Publish.ps1 | 4 +-- 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/Remotely_Desktop.Win/Remotely_Desktop.Win.csproj b/Remotely_Desktop.Win/Remotely_Desktop.Win.csproj index c864b330..be92872e 100644 --- a/Remotely_Desktop.Win/Remotely_Desktop.Win.csproj +++ b/Remotely_Desktop.Win/Remotely_Desktop.Win.csproj @@ -18,6 +18,21 @@ true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true AnyCPU @@ -147,6 +162,18 @@ Remotely_Shared + + + False + Microsoft .NET Framework 4.7.2 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + diff --git a/Remotely_Server/CurrentVersion.txt b/Remotely_Server/CurrentVersion.txt index 76124fc7..722bb629 100644 --- a/Remotely_Server/CurrentVersion.txt +++ b/Remotely_Server/CurrentVersion.txt @@ -1 +1 @@ -2019.05.17.1718 +2019.05.22.0654 diff --git a/Remotely_Server/Pages/Clients.cshtml b/Remotely_Server/Pages/Clients.cshtml index 0d238fcd..88186e76 100644 --- a/Remotely_Server/Pages/Clients.cshtml +++ b/Remotely_Server/Pages/Clients.cshtml @@ -38,17 +38,13 @@
Windows (32/64-Bit)

- Download: -
- Windows Portable EXE + Download

Linux 64-Bit

- Download: -
- Linux Zipped + Download

diff --git a/Utilities/Publish.ps1 b/Utilities/Publish.ps1 index 0273e45d..d27feb34 100644 --- a/Utilities/Publish.ps1 +++ b/Utilities/Publish.ps1 @@ -112,10 +112,10 @@ Move-Item -Path "$PublishDir\Remotely-Linux.zip" -Destination "$Root\Remotely_Se # Copy desktop app to Downloads folder. if ((Test-Path -Path ".\Remotely_Desktop.Win\bin\Release\Remotely_Desktop.exe") -eq $true) { - Copy-Item -Path ".\Remotely_Desktop.Win\bin\Release\Remotely_Desktop.exe" -Destination ".\Remotely_Server\wwwroot\Downloads\Remotely_Desktop.exe" -Force + Compress-Archive -Path ".\Remotely_Desktop.Win\bin\Release\Remotely_Desktop.exe" -DestinationPath ".\Remotely_Server\wwwroot\Downloads\Remotely_Desktop.zip" -Force } elseif ((Test-Path -Path ".\Remotely_Desktop.Win\bin\Debug\Remotely_Desktop.exe") -eq $true) { - Copy-Item -Path ".\Remotely_Desktop.Win\bin\Debug\Remotely_Desktop.exe" -Destination ".\Remotely_Server\wwwroot\Downloads\Remotely_Desktop.exe" -Force + Compress-Archive -Path ".\Remotely_Desktop.Win\bin\Debug\Remotely_Desktop.exe" -Destination ".\Remotely_Server\wwwroot\Downloads\Remotely_Desktop.zip" -Force } if ($RID.Length -gt 0 -and $OutDir.Length -gt 0) {