Skip to content

Commit 2716c9d

Browse files
1.0 Beta 4 (hotfix 1): Fix crash on service uninstall
1 parent 56ac5c1 commit 2716c9d

File tree

8 files changed

+14
-8
lines changed

8 files changed

+14
-8
lines changed

YAMDCC.Common/YAMDCC.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFramework>net48</TargetFramework>
1414
<Title>YAMDCC common code library</Title>
1515
<VersionPrefix>1.0.0</VersionPrefix>
16-
<VersionSuffix>beta.4</VersionSuffix>
16+
<VersionSuffix>beta.4-hotfix.1</VersionSuffix>
1717
</PropertyGroup>
1818
<PropertyGroup Condition="'$(Configuration)'=='Release'">
1919
<DebugType>none</DebugType>

YAMDCC.Config/YAMDCC.Config.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFramework>net48</TargetFramework>
1414
<Title>YAMDCC config library</Title>
1515
<VersionPrefix>1.0.0</VersionPrefix>
16-
<VersionSuffix>beta.4</VersionSuffix>
16+
<VersionSuffix>beta.4-hotfix.1</VersionSuffix>
1717
</PropertyGroup>
1818
<PropertyGroup Condition="'$(Configuration)'=='Release'">
1919
<DebugType>none</DebugType>

YAMDCC.ConfigEditor/MainWindow.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,13 @@ private void MainWindow_Closing(object sender, FormClosingEventArgs e)
197197
SendServiceMessage(new ServiceCommand(Command.FullBlast, "0"));
198198
}
199199
GlobalConfig.App = "YAMDCC";
200-
GlobalConfig.Save();
200+
try
201+
{
202+
GlobalConfig.Save();
203+
}
204+
// ignore DirectoryNotFoundException, since we probably closed the
205+
// window due to uninstalling with data directory delete enabled
206+
catch (DirectoryNotFoundException) { }
201207
}
202208

203209
private void OnProcessExit(object sender, EventArgs e)

YAMDCC.ConfigEditor/YAMDCC.ConfigEditor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<Title>YAMDCC configuration utility</Title>
2222
<UseWindowsForms>true</UseWindowsForms>
2323
<VersionPrefix>1.0.0</VersionPrefix>
24-
<VersionSuffix>beta.4</VersionSuffix>
24+
<VersionSuffix>beta.4-hotfix.1</VersionSuffix>
2525
</PropertyGroup>
2626
<PropertyGroup Condition="'$(Configuration)'=='Release'">
2727
<DebugType>none</DebugType>

YAMDCC.ECAccess/YAMDCC.ECAccess.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<TargetFramework>net48</TargetFramework>
1515
<Title>YAMDCC EC access library</Title>
1616
<VersionPrefix>1.0.0</VersionPrefix>
17-
<VersionSuffix>beta.4</VersionSuffix>
17+
<VersionSuffix>beta.4-hotfix.1</VersionSuffix>
1818
</PropertyGroup>
1919
<PropertyGroup Condition="'$(Configuration)'=='Release'">
2020
<DebugType>none</DebugType>

YAMDCC.ECInspector/YAMDCC.ECInspector.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Title>YAMDCC EC inspector</Title>
2020
<UseWindowsForms>true</UseWindowsForms>
2121
<VersionPrefix>1.0.0</VersionPrefix>
22-
<VersionSuffix>beta.4</VersionSuffix>
22+
<VersionSuffix>beta.4-hotfix.1</VersionSuffix>
2323
</PropertyGroup>
2424
<PropertyGroup Condition="'$(Configuration)'=='Release'">
2525
<DebugType>none</DebugType>

YAMDCC.Logs/YAMDCC.Logs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFramework>net48</TargetFramework>
1414
<Title>YAMDCC logging library</Title>
1515
<VersionPrefix>1.0.0</VersionPrefix>
16-
<VersionSuffix>beta.4</VersionSuffix>
16+
<VersionSuffix>beta.4-hotfix.1</VersionSuffix>
1717
</PropertyGroup>
1818
<PropertyGroup Condition="'$(Configuration)'=='Release'">
1919
<DebugType>none</DebugType>

YAMDCC.Service/YAMDCC.Service.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<TargetFramework>net48</TargetFramework>
1616
<Title>YAMDCC helper service</Title>
1717
<VersionPrefix>1.0.0</VersionPrefix>
18-
<VersionSuffix>beta.4</VersionSuffix>
18+
<VersionSuffix>beta.4-hotfix.1</VersionSuffix>
1919
<ApplicationManifest>app.manifest</ApplicationManifest>
2020
</PropertyGroup>
2121
<PropertyGroup Condition="'$(Configuration)'=='Release'">

0 commit comments

Comments
 (0)