Skip to content

Commit

Permalink
setup for first version with squirrel
Browse files Browse the repository at this point in the history
  • Loading branch information
MannusEtten committed May 28, 2016
1 parent c8edb64 commit b11d3b1
Show file tree
Hide file tree
Showing 45 changed files with 317 additions and 82,745 deletions.
Binary file added NuGet packaging/BikeTouringGIS.1.0.1.nupkg
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -33,6 +34,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
<TextBlock Margin="25,0,25,0">
<project:HyperLinkControl NavigateUri="mailto:info@therightdirection.nl?subject=bike touring gis">mail us</project:HyperLinkControl>
</TextBlock>
<Button Margin="50,0,0,0" Content="Update the application" x:Name="updateApp" IsEnabled="False" HorizontalAlignment="Right"/>
<TextBlock x:Name="version" Margin="50,0,0,0"/>
<Button Margin="10,0,0,0" Content="Update the application" x:Name="updateApp" IsEnabled="False" HorizontalAlignment="Right"/>
</StackPanel>
</Grid>
</Grid>
Expand Down
24 changes: 24 additions & 0 deletions TripPreparationApp/BicycleTripsPreparationApp/MainScreen.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
using Esri.ArcGISRuntime.Layers;
using Esri.ArcGISRuntime.Symbology;
using GPX;
using Squirrel;
using BicycleTripsPreparationApp;
using theRightDirection.Library.Logging;

namespace BikeTouringGIS
{
Expand All @@ -34,6 +37,27 @@ public partial class MainScreen : UserControl
public MainScreen()
{
InitializeComponent();
var versionApp = typeof(App).Assembly.GetName().Version;
version.Text = string.Format("version {0}.{1}.{2}", versionApp.Major, versionApp.Minor,versionApp.Build);
CheckForUpdates();
}

private async void CheckForUpdates()
{
try
{
using (var mgr = UpdateManager.GitHubUpdateManager("https://github.com/MannusEtten/BikeTouringGIS"))
{
var result = await mgr;

}
}
catch(Exception e)
{
ILogger logger = Logger.GetLogger();
logger.LogException(e);
}

}

private void Button_Click(object sender, RoutedEventArgs e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.1")]
[assembly: AssemblyFileVersion("1.0.1")]
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
F49AE06AAD590CB90093E01822082B9268BF2720 BikeTouringGIS-1.0.1-full.nupkg 23810439

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="DeltaCompressionDotNet.MsDelta" publicKeyToken="46b2138a390abf55" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="DeltaCompressionDotNet.MsDelta" publicKeyToken="46b2138a390abf55" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

This file was deleted.

Loading

0 comments on commit b11d3b1

Please sign in to comment.