mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
#318, app data dir need be created first
This commit is contained in:
parent
be4e90ecd5
commit
6d7d26d9e7
1 changed files with 7 additions and 7 deletions
|
@ -271,13 +271,6 @@ namespace PersistentWindows.SystrayShell
|
|||
#endif
|
||||
AppdataFolder = appDataFolder;
|
||||
|
||||
if (!waiting_taskbar)
|
||||
{
|
||||
bool ready = WaitTaskbarReady();
|
||||
if (!ready)
|
||||
return;
|
||||
}
|
||||
|
||||
// default icons
|
||||
IdleIcon = legacy_icon ? Properties.Resources.pwIcon2 : Properties.Resources.pwIcon;
|
||||
var iconHandle = Properties.Resources.pwIconBusy.GetHicon();
|
||||
|
@ -363,6 +356,13 @@ namespace PersistentWindows.SystrayShell
|
|||
return;
|
||||
}
|
||||
|
||||
if (!waiting_taskbar)
|
||||
{
|
||||
bool ready = WaitTaskbarReady();
|
||||
if (!ready)
|
||||
return;
|
||||
}
|
||||
|
||||
if (splash)
|
||||
{
|
||||
StartSplashForm();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue