mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2025-07-25 12:53:07 +00:00
Shortcut creator now checks if the IconCache directory is created
This commit is contained in:
@ -182,7 +182,17 @@ namespace HeliosDisplayManagement.UIForms
|
||||
$"-a {HeliosStartupAction.SwitchProfile}",
|
||||
$"-p \"{dv_profile.Profile.Name}\""
|
||||
};
|
||||
|
||||
if (!Directory.Exists(IconCache))
|
||||
{
|
||||
try
|
||||
{
|
||||
Directory.CreateDirectory(IconCache);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
}
|
||||
if (cb_temp.Checked)
|
||||
{
|
||||
if (rb_standalone.Checked)
|
||||
|
Reference in New Issue
Block a user