persist disable upgrade notice

This commit is contained in:
Kang Yu 2024-11-02 22:47:29 -07:00
parent 94c7bd18c4
commit 3847a6eff0
2 changed files with 29 additions and 23 deletions

View file

@ -22,6 +22,7 @@ namespace PersistentWindows.SystrayShell
public static System.Drawing.Icon UpdateIcon = null;
public static string AppdataFolder = null;
public static string DisableWebpageCommander = null;
public static string DisableUpgradeNotice = null;
public static string CmdArgs;
public static bool Gui = true;
public static bool hotkey_window = true;
@ -302,6 +303,7 @@ if not errorlevel 1 goto wait_to_finish";
Directory.CreateDirectory(appDataFolder);
DisableWebpageCommander = Path.Combine(AppdataFolder, "disable_webpage_commander");
DisableUpgradeNotice = Path.Combine(AppdataFolder, "disable_upgrade_notice");
// default icons
var iconHandle = (legacy_icon ? Properties.Resources.pwIcon2: Properties.Resources.pwIcon).GetHicon();