mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
parent
557a3bbddb
commit
aacaefc205
2 changed files with 4 additions and 4 deletions
|
@ -120,7 +120,7 @@ namespace PersistentWindows.Common
|
||||||
public bool fixUnminimizedWindow = true;
|
public bool fixUnminimizedWindow = true;
|
||||||
public bool autoRestoreMissingWindows = false;
|
public bool autoRestoreMissingWindows = false;
|
||||||
public bool autoRestoreLiveWindowsFromDb = true; //for new display session, autorestore live windows using data from db (without resurrecting dead one)
|
public bool autoRestoreLiveWindowsFromDb = true; //for new display session, autorestore live windows using data from db (without resurrecting dead one)
|
||||||
public bool autoRestoreNewWindowToLastCapture = true;
|
public bool autoRestoreNewWindowToLastCapture = false;
|
||||||
public bool launchOncePerProcessId = true;
|
public bool launchOncePerProcessId = true;
|
||||||
private int restoreTimes = 0; //multiple passes need to fully restore
|
private int restoreTimes = 0; //multiple passes need to fully restore
|
||||||
private Object restoreLock = new object();
|
private Object restoreLock = new object();
|
||||||
|
|
|
@ -76,7 +76,7 @@ if not errorlevel 1 goto wait_to_finish";
|
||||||
bool enhanced_offscreen_fix = false;
|
bool enhanced_offscreen_fix = false;
|
||||||
bool auto_restore_missing_windows = false;
|
bool auto_restore_missing_windows = false;
|
||||||
bool auto_restore_from_db_at_startup = false;
|
bool auto_restore_from_db_at_startup = false;
|
||||||
bool auto_restore_last_capture_at_startup = true;
|
bool auto_restore_last_capture_at_startup = false;
|
||||||
bool launch_once_per_process_id = true;
|
bool launch_once_per_process_id = true;
|
||||||
bool check_upgrade = true;
|
bool check_upgrade = true;
|
||||||
bool auto_upgrade = false;
|
bool auto_upgrade = false;
|
||||||
|
@ -263,8 +263,8 @@ if not errorlevel 1 goto wait_to_finish";
|
||||||
case "-auto_restore_existing_window_to_last_capture=0":
|
case "-auto_restore_existing_window_to_last_capture=0":
|
||||||
auto_restore_last_capture_at_startup = false;
|
auto_restore_last_capture_at_startup = false;
|
||||||
break;
|
break;
|
||||||
case "-auto_restore_new_window_to_last_capture=0":
|
case "-auto_restore_new_window_to_last_capture=1":
|
||||||
pwp.autoRestoreNewWindowToLastCapture = false;
|
pwp.autoRestoreNewWindowToLastCapture = true;
|
||||||
break;
|
break;
|
||||||
case "-auto_restore_missing_windows":
|
case "-auto_restore_missing_windows":
|
||||||
case "-auto_restore_missing_windows=1":
|
case "-auto_restore_missing_windows=1":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue