Switch to getting updates from GitHub

This commit is contained in:
2018-04-06 09:57:00 -04:00
parent 0826ecfce3
commit 92469c15aa
6 changed files with 7 additions and 22 deletions

View File

@@ -9,8 +9,8 @@ namespace FeedCenter
private static void InitializeUpdate()
{
UpdateCheck.ApplicationName = Properties.Resources.ApplicationDisplayName;
UpdateCheck.UpdateServerType = ServerType.GitHub;
UpdateCheck.UpdateServer = Settings.Default.VersionLocation;
UpdateCheck.UpdateFile = Settings.Default.VersionFile;
UpdateCheck.ApplicationShutdown = ApplicationShutdown;
UpdateCheck.ApplicationCurrentMessage = ApplicationCurrentMessage;
UpdateCheck.ApplicationUpdateMessage = ApplicationUpdateMessage;

View File

@@ -12,7 +12,7 @@ namespace FeedCenter.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -262,16 +262,7 @@ namespace FeedCenter.Properties {
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("FeedCenterSetup.xml")]
public string VersionFile {
get {
return ((string)(this["VersionFile"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("http://server/FeedCenter/")]
[global::System.Configuration.DefaultSettingValueAttribute("https://api.github.com/repos/ckaczor/FeedCenter/releases/latest")]
public string VersionLocation {
get {
return ((string)(this["VersionLocation"]));

View File

@@ -62,11 +62,8 @@
<Setting Name="MultipleLineDisplay" Provider="Common.Settings.GenericSettingsProvider" Type="FeedCenter.Options.MultipleLineDisplay" Scope="User">
<Value Profile="(Default)">Normal</Value>
</Setting>
<Setting Name="VersionFile" Type="System.String" Scope="Application">
<Value Profile="(Default)">FeedCenterSetup.xml</Value>
</Setting>
<Setting Name="VersionLocation" Type="System.String" Scope="Application">
<Value Profile="(Default)">http://server/FeedCenter/</Value>
<Value Profile="(Default)">https://api.github.com/repos/ckaczor/FeedCenter/releases/latest</Value>
</Setting>
<Setting Name="LastCategoryID" Type="System.String" Scope="User">
<Value Profile="(Default)" />

View File

@@ -82,11 +82,8 @@
<setting name="VersionCheckInterval" serializeAs="String">
<value>01:00:00</value>
</setting>
<setting name="VersionFile" serializeAs="String">
<value>FeedCenterSetup.xml</value>
</setting>
<setting name="VersionLocation" serializeAs="String">
<value>http://server/FeedCenter/</value>
<value>https://api.github.com/repos/ckaczor/FeedCenter/releases/latest</value>
</setting>
</FeedCenter.Properties.Settings>
</applicationSettings>

2
Common

Submodule Common updated: 81ef8f451c...88149c43c3

View File

@@ -1,4 +1,4 @@
version: 1.0.{build}
version: 1.0.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true