@@ -47,23 +47,6 @@ Console.info(`PLATFORM: ${PLATFORM}`);
4747 case "application/x-plist" :
4848 // 主机判断
4949 switch ( url . hostname ) {
50- case "gspe1-ssl.ls.apple.com" :
51- //body = new DOMParser().parseFromString($response.body, FORMAT);
52- // 路径判断
53- switch ( url . pathname ) {
54- case "/pep/gcc" :
55- _ . set ( Caches , "pep.gcc" , $response . body ) ;
56- Storage . setItem ( "@iRingo.Location.Caches" , Caches ) ;
57- switch ( Settings . PEP . GCC ) {
58- case "AUTO" :
59- break ;
60- default :
61- $response . body = Settings . PEP . GCC ;
62- break ;
63- }
64- break ;
65- }
66- break ;
6750 case "configuration.ls.apple.com" :
6851 BigInt . prototype . toJSON = function ( ) {
6952 return this . toString ( ) ;
@@ -76,35 +59,43 @@ Console.info(`PLATFORM: ${PLATFORM}`);
7659 if ( PLIST ) {
7760 // CN
7861 PLIST [ "com.apple.GEO" ] . CountryProviders . CN . ShouldEnableLagunaBeach = true ; // XX
79- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . DrivingMultiWaypointRoutesEnabled = true ; // 驾驶导航途径点
80- //PLIST["com.apple.GEO"].CountryProviders.CN.EnableAlberta = false; // CN
81- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . EnableClientDrapedVectorPolygons = true ; // CN
82- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . GEOAddressCorrectionEnabled = true ; // CN
83- delete PLIST [ "com.apple.GEO" ] . CountryProviders . CN . GEOBatchSpatialEventLookupMaxParametersCount ; // CN
84- delete PLIST [ "com.apple.GEO" ] . CountryProviders . CN . GEOBatchSpatialPlaceLookupMaxParametersCount ; // CN
85- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . LocalitiesAndLandmarksSupported = true ; // CN
86- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . NavigationShowHeadingKey = true ;
87- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . POIBusynessDifferentialPrivacy = true ; // CN
88- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . POIBusynessRealTime = true ; // CN
89- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . TransitPayEnabled = true ; // CN
90- //PLIST["com.apple.GEO"].CountryProviders.CN.WiFiQualityNetworkDisabled = Settings?.Config?.Defaults?.WiFiQualityNetworkDisabled ?? true; // CN
91- //PLIST["com.apple.GEO"].CountryProviders.CN.WiFiQualityTileDisabled = Settings?.Config?.Defaults?.WiFiQualityTileDisabled ?? true; // CN
92- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . SupportsOffline = true ; // CN
93- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . SupportsCarIntegration = true ; // CN
94- // TW
95- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . GEOShouldSpeakWrittenAddresses = true ; // TW
96- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . GEOShouldSpeakWrittenPlaceNames = true ; // TW
97- // US
98- PLIST [ "com.apple.GEO" ] . CountryProviders . CN [ "6694982d2b14e95815e44e970235e230" ] = true ; // US
99- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . PedestrianAREnabled = true ; // 现实世界中的线路
100- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . OpticalHeadingEnabled = true ; // 举起以查看
101- PLIST [ "com.apple.GEO" ] . CountryProviders . CN . UseCLPedestrianMapMatchedLocations = true ; // 导航准确性-增强
62+ delete PLIST [ "com.apple.GEO" ] ?. CountryProviders ?. CN ?. DrivingMultiWaypointRoutesEnabled ; // 路线-驾驶-停靠点
63+ delete PLIST [ "com.apple.GEO" ] ?. CountryProviders ?. CN ?. LocalitiesAndLandmarksSupported ; // 支持地名和地标
64+ delete PLIST [ "com.apple.GEO" ] ?. CountryProviders ?. CN ?. NavigationShowHeadingKey ; // 导航时显示朝向按钮
65+ delete PLIST [ "com.apple.GEO" ] ?. CountryProviders ?. CN ?. POIBusynessRealTime ; // 兴趣点繁忙度的实时展示?(需要,默认仅 CN 停用)
66+ delete PLIST [ "com.apple.GEO" ] ?. CountryProviders ?. CN ?. PedestrianAREnabled ; // 步行-现实世界中的线路-举起以查看
67+ PLIST [ "com.apple.GEO" ] . CountryProviders . CN . SupportsCarIntegration = true ; // 支持车辆集成
68+ PLIST [ "com.apple.GEO" ] . DrivingMultiWaypointRoutesEnabled = true ; // 路线-驾驶-停靠点(不需要,默认全局启用)
69+ PLIST [ "com.apple.GEO" ] . LocalitiesAndLandmarksSupported = true ; // 支持地名和地标(不需要,默认全局启用)
70+ PLIST [ "com.apple.GEO" ] . NavigationShowHeadingKey = true ; // 导航时显示朝向按钮(需要,默认全局停用)
71+ PLIST [ "com.apple.GEO" ] [ "6694982d2b14e95815e44e970235e230" ] = true ; // ?(需要,默认仅 US 启用)
72+ PLIST [ "com.apple.GEO" ] . OpticalHeadingEnabled = true ; // 步行-导航精确度-增强(需要,默认仅 US 启用)
73+ PLIST [ "com.apple.GEO" ] . PedestrianAREnabled = true ; // 步行-现实世界中的线路-举起以查看(不需要,默认全局启用)
74+ PLIST [ "com.apple.GEO" ] . TransitPayEnabled = true ; // 地图 App 中的交通卡和支付卡(不需要,默认全局启用)
75+ PLIST [ "com.apple.GEO" ] . UseCLPedestrianMapMatchedLocations = true ; // 使用 Pedestrian 地图匹配位置?(需要,默认仅 US 启用)
10276 }
10377 break ;
10478 }
10579 }
10680 $response . body = XML . stringify ( body ) ;
10781 break ;
82+ case "gspe1-ssl.ls.apple.com" :
83+ //body = new DOMParser().parseFromString($response.body, FORMAT);
84+ // 路径判断
85+ switch ( url . pathname ) {
86+ case "/pep/gcc" :
87+ _ . set ( Caches , "pep.gcc" , $response . body ) ;
88+ Storage . setItem ( "@iRingo.Location.Caches" , Caches ) ;
89+ switch ( Settings . PEP . GCC ) {
90+ case "AUTO" :
91+ break ;
92+ default :
93+ $response . body = Settings . PEP . GCC ;
94+ break ;
95+ }
96+ break ;
97+ }
98+ break ;
10899 }
109100 break ;
110101 case "text/vtt" :
0 commit comments