Support modify test url Optimize android proxy Fix the error that async proxy provider could not selected the proxy
14 lines
300 B
Dart
14 lines
300 B
Dart
import 'dart:io';
|
|
|
|
import 'package:package_info_plus/package_info_plus.dart';
|
|
|
|
import 'common.dart';
|
|
|
|
extension PackageInfoExtension on PackageInfo {
|
|
String get ua => [
|
|
"$appName/v$version",
|
|
"clash-verge/v1.6.6",
|
|
"Platform/${Platform.operatingSystem}",
|
|
].join(" ");
|
|
}
|