Skip to content

Commit 899ebd5

Browse files
committed
Release version 3.0
1 parent beda1c8 commit 899ebd5

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/Compatibility.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private static void UpdateThemeImageLists()
119119
theme.nightImageList = new int[] { 14, 15, 16, 2 };
120120
}
121121

122-
string newJson = JsonConvert.SerializeObject(theme);
122+
string newJson = JsonConvert.SerializeObject(theme, Formatting.Indented);
123123
File.WriteAllText(filePath, newJson);
124124
}
125125
}

src/ThemeManager.cs

+11-11
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ public static void Initialize()
4040

4141
foreach (string themeId in themeIds)
4242
{
43-
//try
44-
//{
45-
ThemeConfig theme = JsonConfig.LoadTheme(themeId);
43+
try
44+
{
45+
ThemeConfig theme = JsonConfig.LoadTheme(themeId);
4646

47-
themeSettings.Add(theme);
47+
themeSettings.Add(theme);
4848

49-
if (theme.themeId == JsonConfig.settings.themeName)
49+
if (theme.themeId == JsonConfig.settings.themeName)
50+
{
51+
currentTheme = theme;
52+
}
53+
}
54+
catch
5055
{
51-
currentTheme = theme;
56+
DisableTheme(themeId);
5257
}
53-
//}
54-
//catch
55-
//{
56-
// DisableTheme(themeId);
57-
//}
5858
}
5959

6060
DownloadMissingImages(FindMissingThemes());

uwp/Package.appxmanifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" IgnorableNamespaces="uap mp rescap desktop">
3-
<Identity Name="38719TimothyJohnson.WinDynamicDesktop" Publisher="CN=3C822DA5-D64C-40A9-A84A-5502C3EDD8CD" Version="2.3.0.0" />
3+
<Identity Name="38719TimothyJohnson.WinDynamicDesktop" Publisher="CN=3C822DA5-D64C-40A9-A84A-5502C3EDD8CD" Version="3.0.0.0" />
44
<Properties>
55
<DisplayName>WinDynamicDesktop</DisplayName>
66
<PublisherDisplayName>Timothy Johnson</PublisherDisplayName>

0 commit comments

Comments
 (0)