mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Fix for handling exceptions thrown by dispatcher which were crashing PT Run (#5199)
* fix report window error icon * fix for launching web page to create new issue * Made icon theme aware * removed exception that was added by mistake * modified the issue reporting link to match that in the settings page * added comment
This commit is contained in:
@@ -71,8 +71,8 @@ namespace Wox.Infrastructure.Image
|
||||
{
|
||||
if (theme == Theme.Light || theme == Theme.HighContrastWhite)
|
||||
{
|
||||
ErrorIconPath = Constant.ErrorIcon;
|
||||
DefaultIconPath = Constant.DefaultIcon;
|
||||
ErrorIconPath = Constant.LightThemedErrorIcon;
|
||||
DefaultIconPath = Constant.LightThemedDefaultIcon;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -34,11 +34,13 @@ namespace Wox.Infrastructure
|
||||
public static readonly string DataDirectory = DetermineDataDirectory();
|
||||
public static readonly string PluginsDirectory = Path.Combine(DataDirectory, Plugins);
|
||||
public static readonly string PreinstalledDirectory = Path.Combine(ProgramDirectory, Plugins);
|
||||
public const string Issue = "https://github.com/microsoft/PowerToys/issues/new";
|
||||
public const string Issue = "https://github.com/microsoft/PowerToys/issues";
|
||||
public static readonly string Version = FileVersionInfo.GetVersionInfo(Assembly.Location.NonNull()).ProductVersion;
|
||||
|
||||
public static readonly int ThumbnailSize = 64;
|
||||
public static readonly string DefaultIcon = Path.Combine(ProgramDirectory, "Images", "app.dark.png");
|
||||
public static readonly string ErrorIcon = Path.Combine(ProgramDirectory, "Images", "app_error.dark.png");
|
||||
public static readonly string LightThemedDefaultIcon = Path.Combine(ProgramDirectory, "Images", "app.light.png");
|
||||
public static readonly string LightThemedErrorIcon = Path.Combine(ProgramDirectory, "Images", "app_error.light.png");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user