Zip the desktop app.

This commit is contained in:
Jared Goodwin 2019-05-22 07:07:38 -07:00
parent 4970748f4f
commit cdc4e848af
4 changed files with 32 additions and 9 deletions

View File

@ -18,6 +18,21 @@
<Deterministic>true</Deterministic>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@ -147,6 +162,18 @@
<Name>Remotely_Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>

View File

@ -1 +1 @@
2019.05.17.1718
2019.05.22.0654

View File

@ -38,17 +38,13 @@
<div class="col-sm-6">
<h6 class="font-weight-bold">Windows (32/64-Bit)</h6>
<p>
<strong>Download:</strong>
<br />
<a href="~/Downloads/Remotely_Desktop.exe">Windows Portable EXE</a>
<a href="~/Downloads/Remotely_Desktop.zip">Download</a>
</p>
</div>
<div class="col-sm-6">
<h6 class="font-weight-bold">Linux 64-Bit</h6>
<p>
<strong>Download:</strong>
<br />
<a href="~/Downloads/Remotely_Desktop.Unix.zip">Linux Zipped</a>
<a href="~/Downloads/Remotely_Desktop.Unix.zip">Download</a>
</p>
</div>
</div>

View File

@ -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) {