mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Fixed Image Errors + Handing Bad ShellRun
This commit is contained in:
@@ -455,6 +455,12 @@ namespace Wox {
|
||||
}
|
||||
|
||||
public void SetTheme(string themeName) {
|
||||
//Uri uri = new Uri("Themes/Default.xaml", UriKind.Relative);
|
||||
//System.Windows.Resources.StreamResourceInfo info = Application.GetResourceStream(uri);
|
||||
//System.Windows.Markup.XamlReader reader = new System.Windows.Markup.XamlReader();
|
||||
|
||||
|
||||
|
||||
var dict = new ResourceDictionary {
|
||||
Source = new Uri(Path.Combine(Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath), "Themes\\" + themeName + ".xaml"), UriKind.Absolute)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user