mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
add command -dump_window_pos_at_exit=0
This commit is contained in:
parent
5fc803757a
commit
63334fa67c
2 changed files with 8 additions and 2 deletions
|
@ -263,6 +263,9 @@ namespace PersistentWindows.SystrayShell
|
|||
case "-auto_upgrade=1":
|
||||
auto_upgrade = true;
|
||||
break;
|
||||
case "-dump_window_pos_at_exit=0":
|
||||
pwp.dumpDataWhenExit = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -778,7 +781,8 @@ namespace PersistentWindows.SystrayShell
|
|||
{
|
||||
try
|
||||
{
|
||||
pwp.WriteDataDump();
|
||||
if (pwp.dumpDataWhenExit)
|
||||
pwp.WriteDataDump();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue