Skip to content

Commit 7fbeff9

Browse files
committed
Try AutoUpdating
1 parent 65b218e commit 7fbeff9

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<item>
3-
<version>1.9.1</version>
3+
<version>1.9.2</version>
44
<url>https://github.com/chihirobelmo/FalconBMS-Alternative-Launcher/releases/download/v1.60/Falcon_BMS_Alternative_Launcher_v1.60.zip</url>
55
</item>

Falcon BMS Alternative Launcher/Falcon BMS Alternative Launcher.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@
313313
<ItemGroup>
314314
<Resource Include="Resources\BackGround_Header_Installer.jpg" />
315315
</ItemGroup>
316+
<ItemGroup>
317+
<Resource Include="AutoUpdate.xml" />
318+
</ItemGroup>
316319
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
317320
<Target Name="AfterResolveReferences">
318321
<ItemGroup>

Falcon BMS Alternative Launcher/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@
4949
// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます
5050
// 既定値にすることができます:
5151
// [assembly: AssemblyVersion("1.0.*")]
52-
[assembly: AssemblyVersion("1.9.0.0")]
53-
[assembly: AssemblyFileVersion("1.9.0.0")]
52+
[assembly: AssemblyVersion("1.9.1.0")]
53+
[assembly: AssemblyFileVersion("1.9.1.0")]

Falcon BMS Alternative Launcher/Windows/MainWindow.xaml.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
using MahApps.Metro.Controls;
1515

16+
using AutoUpdaterDotNET;
17+
1618
namespace FalconBMS.Launcher.Windows
1719
{
1820
/// <summary>
@@ -48,6 +50,8 @@ public MainWindow()
4850
/// <param name="e"></param>
4951
private void Window_Loaded(object sender, RoutedEventArgs e)
5052
{
53+
AutoUpdater.Start("https://raw.githubusercontent.com/chihirobelmo/FalconBMS-Alternative-Launcher/master/Falcon%20BMS%20Alternative%20Launcher/AutoUpdate.xml");
54+
5155
System.Reflection.Assembly asm = System.Reflection.Assembly.GetExecutingAssembly();
5256
System.Version ver = asm.GetName().Version;
5357

0 commit comments

Comments
 (0)