Skip to content

Commit

Permalink
Auto open proxy setting panel when appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
Lingxi-Li committed Aug 3, 2023
1 parent ef5edb4 commit fc75358
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ static void CreateTray()
if (ProxyServer == None)
{
MessageBox.Show("'ProxyServer' not configured");
Process.Start("ms-settings:network-proxy");
return;
}
using (var key = Registry.CurrentUser.OpenSubKey(KeyPath, true))
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A Windows tray app that monitors WinINet proxy settings for LAN (not VPN) and en

- A blue/yellow tray icon indicates proxy off/on status, respectively.
- A mouse hover-over tip shows proxy server info when proxy is on or "Direct" when off.
- Left click on the tray icon toggles proxy on/off status. Proxy server info must be pre-configured externally.
- Left click on the tray icon toggles proxy on/off status. Proxy server info must be pre-configured externally. If no configuration is found, automatically opens Windows proxy setting panel.
- Right-click opens context menu.
- "Proxy Setting" opens Windows network proxy setting panel.
- "Quit" exits the tray app.
Expand Down

0 comments on commit fc75358

Please sign in to comment.