解决 macOS 10.12 下 PAC 模式下Safari 或 Twitter 客户端 tweetbot客户端不能FQ的问题
解决 macOS 10.12 下 PAC 模式下Safari 或 Twitter 客户端 tweetbot客户端不能FQ的问题 https://github.com/qiuyuzhou/ShadowsocksX-NG/issues/30 PS 手头没有 macOS 10.12 的机器,麻烦有的请帮忙测试一下 或者可以从 https://github.com/qinyuhang/ShadowsocksX-NG/tree/webserver 下载去 Xcode build 一下
This commit is contained in:
@ -7,15 +7,21 @@
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <GCDWebServer/GCDWebServer.h>
|
||||
#import <GCDWebServer/GCDWebServerDataResponse.h>
|
||||
|
||||
@interface ProxyConfHelper : NSObject
|
||||
|
||||
+ (void)install;
|
||||
|
||||
+ (void)enablePACProxy;
|
||||
+ (void)enablePACProxy:(NSString*) PACFilePath;
|
||||
|
||||
+ (void)enableGlobalProxy;
|
||||
|
||||
+ (void)disableProxy;
|
||||
+ (void)disableProxy:(NSString*) PACFilePath;
|
||||
|
||||
+ (NSString*)startPACServer:(NSString*) PACFilePath;
|
||||
|
||||
+ (void)stopPACServer;
|
||||
|
||||
@end
|
||||
|
Reference in New Issue
Block a user