mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
This commit is contained in:
parent
e99518f23b
commit
4136e5d2a1
2 changed files with 6 additions and 2 deletions
|
@ -280,6 +280,9 @@ namespace PersistentWindows.SystrayShell
|
|||
#endif
|
||||
AppdataFolder = appDataFolder;
|
||||
|
||||
if (!Directory.Exists(appDataFolder))
|
||||
Directory.CreateDirectory(appDataFolder);
|
||||
|
||||
// default icons
|
||||
var iconHandle = (legacy_icon ? Properties.Resources.pwIcon2: Properties.Resources.pwIcon).GetHicon();
|
||||
IdleIcon = System.Drawing.Icon.FromHandle(iconHandle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue