From 441d8160e4238062c88c3f25bec537ede696a68a Mon Sep 17 00:00:00 2001 From: Chandler-Lu Date: Thu, 7 Jun 2018 14:20:00 +0800 Subject: [PATCH 1/2] copy profiles for configwindow, so that cancel' --- V2RayX/Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/V2RayX/Info.plist b/V2RayX/Info.plist index 95e38ea..6289e21 100644 --- a/V2RayX/Info.plist +++ b/V2RayX/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 211 + 212 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) LSUIElement From 5fe7b60353e2cfeffcc38bbd693a3c77965b0af9 Mon Sep 17 00:00:00 2001 From: Chandler-Lu Date: Sun, 10 Jun 2018 21:35:41 +0800 Subject: [PATCH 2/2] better pac switcher --- V2RayX/AppDelegate.m | 1 + V2RayX/Info.plist | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/V2RayX/AppDelegate.m b/V2RayX/AppDelegate.m index b235aae..78ed166 100644 --- a/V2RayX/AppDelegate.m +++ b/V2RayX/AppDelegate.m @@ -401,6 +401,7 @@ - (void)switchPac:(id)sender { [appDelegate updateSystemProxy]; }); dispatch_resume(dispatchPacSource); + proxyMode = pac; [self configurationDidChange]; } diff --git a/V2RayX/Info.plist b/V2RayX/Info.plist index 6289e21..aa77908 100644 --- a/V2RayX/Info.plist +++ b/V2RayX/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 212 + 214 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) LSUIElement