Update used links in application

This commit is contained in:
Kamil Trzciński 2022-12-12 18:47:54 +01:00
parent 6947f4615c
commit 7079200b60
2 changed files with 6 additions and 4 deletions

View file

@ -101,7 +101,7 @@ namespace SteamController
checkForUpdatesItem.Click += delegate { Instance.RunUpdater(TitleWithVersion, true); };
var shortcutsItem = contextMenu.Items.Add("&Shortcuts");
shortcutsItem.Click += delegate { Process.Start("explorer.exe", "https://steam-deck-tools.ayufan.dev/docs/shortcuts.html"); };
shortcutsItem.Click += delegate { Process.Start("explorer.exe", "https://steam-deck-tools.ayufan.dev/shortcuts.html"); };
var helpItem = contextMenu.Items.Add("&Help");
helpItem.Click += delegate { Process.Start("explorer.exe", "https://steam-deck-tools.ayufan.dev"); };
@ -225,7 +225,7 @@ namespace SteamController
"This will hide X360 Controller from Steam, and will try to detect Steam presence " +
"to disable usage of this application when running Steam Games.\n\n" +
"This does REQUIRE disabling DESKTOP MODE shortcuts in Steam.\n" +
"Follow guide found at https://steam-deck-tools.ayufan.dev/docs/steam-controller.html.",
"Follow guide found at https://steam-deck-tools.ayufan.dev/steam-controller.html.",
true, false, true
);
};

View file

@ -1,6 +1,7 @@
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Web;
using AutoUpdaterDotNET;
using CommonHelpers;
@ -84,10 +85,11 @@ namespace Updater
TrackProcess("SteamController");
var updateURL = String.Format(
"https://steam-deck-tools.ayufan.dev/updates/{0}_{1}.xml?version={2}",
"https://steam-deck-tools.ayufan.dev/updates/{0}_{1}.xml?version={2}&machineID={3}",
Instance.IsDEBUG ? "debug" : "release",
IsUsingInstaller ? "setup" : "zip",
Instance.ProductVersion
HttpUtility.UrlEncode(Instance.ProductVersion),
HttpUtility.UrlEncode(Instance.MachineID)
);
AutoUpdater.Start(updateURL);