Skip to content

Commit

Permalink
Fix build warnings: unused variable and obsolete dpiAware settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
flyoutsea committed Nov 25, 2023
1 parent babb548 commit 55e09ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/SysProxyHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public static class SysProxyHandle
// <proxy-server><CR-LF>
// <bypass-list><CR-LF>
// <pac-url>
private static SysproxyConfig? _userSettings = null;

private enum RET_ERRORS : int
{
Expand Down
1 change: 1 addition & 0 deletions v2rayN/v2rayUpgrade/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ private static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm(args));
}
Expand Down
2 changes: 0 additions & 2 deletions v2rayN/v2rayUpgrade/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:application>
<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>

0 comments on commit 55e09ed

Please sign in to comment.