Skip to content

Commit

Permalink
Code for later to check for new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameljoseph committed Jun 10, 2024
1 parent 22c1068 commit 3d0a7fd
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
10 changes: 8 additions & 2 deletions GSCFieldApp/GSCFieldApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<RuntimeIdentifiers>win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot</RuntimeIdentifiers>
<PackageCertificateThumbprint>14CF0ECF911C8A37CF0E2EF4F8E06F25425B80C1</PackageCertificateThumbprint>
<PackageCertificateThumbprint>1DA808AB7F24EA5D385C2463C710EEB77A852D73</PackageCertificateThumbprint>
<AppxPackageDir>C:\work data\datacollections\PublishedVersions\</AppxPackageDir>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppInstallerUpdateFrequency>100</AppInstallerUpdateFrequency>
Expand Down Expand Up @@ -162,7 +162,9 @@
<None Include="Themes\Readme.md" />
<None Include="ViewModels\Readme.md" />
<None Include="Views\Readme.md" />
<PRIResource Include="Resources\fr\Resources.resw" />
<PRIResource Include="Resources\fr\Resources.resw">
<SubType>Designer</SubType>
</PRIResource>
<PRIResource Include="Resources\en-US\Resources.resw" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -219,6 +221,7 @@
<Compile Include="Models\Station.cs" />
<Compile Include="Models\VocabularyManager.cs" />
<Compile Include="Services\DatabaseServices\GeopackageService.cs" />
<Compile Include="Services\ErrorLogToFile.cs" />
<Compile Include="Services\IgnorePropertiesResolver.cs" />
<Compile Include="Services\ContentDialogMaker.cs" />
<Compile Include="Services\FileServices\FileServices.cs" />
Expand Down Expand Up @@ -442,6 +445,9 @@
<PackageReference Include="Esri.ArcGISRuntime.UWP">
<Version>200.0.0</Version>
</PackageReference>
<PackageReference Include="log4net">
<Version>2.0.17</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.14</Version>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion GSCFieldApp/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:iot="http://schemas.microsoft.com/appx/manifest/iot/windows10" IgnorableNamespaces="uap mp uap3 iot">
<Identity Name="NaturalResourcesCanada.GeologicalSurveyCanadaField" Publisher="CN=Geological Survey of Canada, O=Natural Resources Canada, C=CA" Version="2.4.16.0" />
<Identity Name="NaturalResourcesCanada.GeologicalSurveyCanadaField" Publisher="CN=jjoseph" Version="2.4.16.0" />
<mp:PhoneIdentity PhoneProductId="06e90cbe-1a34-4205-8fe6-3ce0ad4467db" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>Geological Survey Canada Field Application</DisplayName>
Expand Down
8 changes: 8 additions & 0 deletions GSCFieldApp/Resources/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -1893,4 +1893,12 @@ Shimamura, Kaz – Senior Advisor</value>
<data name="UpgradeErrorMetadataContent" xml:space="preserve">
<value>No metadata table was found within the incoming database. Can't upgrade.</value>
</data>
<data name="DownloadLinkTextBlock.Text" xml:space="preserve">
<value>Check Update</value>
<comment>Added By Jamel June 2024</comment>
</data>
<data name="RepoLinkTextBlock.text" xml:space="preserve">
<value>Here</value>
<comment>Added by Jamel June 2024</comment>
</data>
</root>
11 changes: 10 additions & 1 deletion GSCFieldApp/Views/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,16 @@
<Run x:Uid="AboutDatabaseVersion">Version</Run>
<Run Text="{Binding VersionDB}" />
</TextBlock>

<!--
<TextBlock Name="DownloadLinkTextBlock" Margin="10" RelativePanel.AlignLeftWithPanel="True"
RelativePanel.Below="VersionDBTextBlock">
<Hyperlink Name="DownloadLink" RequestNavigate="DownloadLink_RequestNavigate">Download latest release</Hyperlink>
</TextBlock>
<TextBlock Name="RepoLinkTextBlock" Margin="10" RelativePanel.AlignLeftWithPanel="True"
RelativePanel.Below="DownloadLinkTextBlock">
<Hyperlink NavigateUri="https://github.com/NRCan/GSC-Field-Application" RequestNavigate="Hyperlink_RequestNavigate">Update App</Hyperlink>
</TextBlock>
-->
<!--Contact Info-->
<TextBlock x:Name="ContactTextBlock" Margin="0,12,0,12" x:Uid="AboutContactHeader"
FontSize="22" RelativePanel.AlignLeftWithPanel="True"
Expand Down

0 comments on commit 3d0a7fd

Please sign in to comment.