Skip to content

Commit

Permalink
build V1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghongenpin committed Jul 28, 2024
1 parent 04215af commit 3f7f045
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 19 deletions.
1 change: 0 additions & 1 deletion lib/network/handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import 'package:network_proxy/network/http/http.dart';
import 'package:network_proxy/network/http/websocket.dart';
import 'package:network_proxy/network/proxy_helper.dart';
import 'package:network_proxy/network/util/attribute_keys.dart';
import 'package:network_proxy/network/util/localizations.dart';
import 'package:network_proxy/network/util/logger.dart';
import 'package:network_proxy/network/util/uri.dart';
import 'package:network_proxy/utils/ip.dart';
Expand Down
20 changes: 11 additions & 9 deletions lib/ui/desktop/desktop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -203,20 +203,22 @@ class _DesktopHomePagePageState extends State<DesktopHomePage> implements EventL
isCN
? '提示:默认不会开启HTTPS抓包,请安装证书后再开启HTTPS抓包。\n'
'点击HTTPS抓包(加锁图标),选择安装根证书,按照提示操作即可。\n\n'
'1. 支持自定义根证书\n'
'1. 支持导入自定义跟证书,以及生成自定义根证书\n'
'2. 支持重新生成根证书,以及重置默认跟证书;\n'
'3. 支持导出根证书和私钥;\n'
'4. 重放域名下请求;\n'
'5. 修复请求重写列表换行问题;\n'
'6. 脚本headers支持同名多个值情况;\n'
'3. 支持导出根证书(p12)和私钥;\n'
'4. 历史记录支持重放所有请求;\n'
'5. 重放域名下请求;\n'
'6. 修复请求重写列表换行问题;\n'
'7. 脚本headers支持同名多个值情况;\n'
: 'Tips:By default, HTTPS packet capture will not be enabled. Please install the certificate before enabling HTTPS packet capture。\n'
'Click HTTPS Capture packets(Lock icon),Choose to install the root certificate and follow the prompts to proceed。\n\n'
'1. Support custom root certificates;\n'
'1. Support importing custom certificates and generating custom root certificates;\n'
'2. Support generate new root certificates and resetting default root certificates;\n'
'3. Support exporting root certificates and private keys;\n'
'4. Replay domain name request;\n'
'5. Fix request rewrite list word wrapping;\n'
'6. Script headers support multiple values with the same name;\n'
'4. History supports replaying all requests;\n'
'5. Replay domain name request;\n'
'6. Fix request rewrite list word wrapping;\n'
'7. Script headers support multiple values with the same name;\n'
'',
style: const TextStyle(fontSize: 14)));
});
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/desktop/left/request_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class _HttpState extends State<_HttpWidget> {
message = widget.message;
body = TextEditingController(text: widget.message?.bodyAsString);
if (widget.message?.headers == null && !widget.readOnly) {
initHeader["User-Agent"] = ["ProxyPin/1.1.0"];
initHeader["User-Agent"] = ["ProxyPin/1.1.1"];
initHeader["Accept"] = ["*/*"];
return;
}
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/desktop/toolbar/ssl/ssl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ class _SslState extends State<SslWidget> {
item("${localizations.installRootCa} iOS", onPressed: () async => iosCer(await localIp())),
item("${localizations.installRootCa} Android", onPressed: () async => androidCer(await localIp())),
const Divider(thickness: 0.3, height: 3),
importMenu(surfaceTintColor),
const Divider(thickness: 0.3, height: 3),
exportMenu(surfaceTintColor),
const Divider(thickness: 0.3, height: 3),
importMenu(surfaceTintColor),
const Divider(thickness: 0.3, height: 3),
item(localizations.generateCA, onPressed: () async {
showConfirmDialog(context, title: localizations.generateCA, content: localizations.generateCADescribe,
onConfirm: () async {
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/mobile/mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ class MobileHomeState extends State<MobileHomePage> implements EventListener, Li

String content = isCN
? '提示:默认不会开启HTTPS抓包,请安装证书后再开启HTTPS抓包。\n\n'
'1. 支持自定义根证书\n'
'1. 支持导入自定义跟证书,以及生成自定义根证书\n'
'2. 支持重新生成根证书,以及重置默认跟证书;\n'
'3. 支持导出根证书(P12)和私钥;\n'
'4. 重放域名下请求;\n'
'5. 修复请求重写列表换行问题;\n'
'6. 脚本headers支持同名多个值情况;\n'
: 'Tips:By default, HTTPS packet capture will not be enabled. Please install the certificate before enabling HTTPS packet capture。\n\n'
'Click HTTPS Capture packets(Lock icon),Choose to install the root certificate and follow the prompts to proceed。\n\n'
'1. Support custom root certificates;\n'
'1. Support importing custom certificates and generating custom root certificates;\n'
'2. Support generate new root certificates and resetting default root certificates;\n'
'3. Support exporting root certificates(P12) and private keys;\n'
'4. Replay domain name request;\n'
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/mobile/request/request_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class _HttpState extends State<_HttpWidget> with AutomaticKeepAliveClientMixin {
message = widget.message;
body = widget.message?.bodyAsString;
if (widget.message?.headers == null && !widget.readOnly) {
initHeader["User-Agent"] = ["ProxyPin/1.1.0"];
initHeader["User-Agent"] = ["ProxyPin/1.1.1"];
initHeader["Accept"] = ["*/*"];
return;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/mobile/widgets/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class About extends StatelessWidget {
padding: const EdgeInsets.only(left: 10, right: 10),
child: Text(isCN ? "全平台开源免费抓包软件" : "Full platform open source free capture HTTP(S) traffic software")),
const SizedBox(height: 10),
const Text("V1.1.0"),
const Text("V1.1.1"),
ListTile(
title: const Text("Github"),
trailing: const Icon(Icons.arrow_right),
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/har.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Har {
title = title.contains("ProxyPin") ? title : "[ProxyPin]$title";
har["log"] = {
"version": "1.2",
"creator": {"name": "ProxyPin", "version": "1.1.0"},
"creator": {"name": "ProxyPin", "version": "1.1.1"},
"pages": [
{
"title": title,
Expand Down
2 changes: 1 addition & 1 deletion linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd ../build/linux/x64/release
rm -rf package
mkdir -p package/DEBIAN
echo "Package: ProxyPin" >> package/DEBIAN/control
echo "Version: 1.1.0" >> package/DEBIAN/control
echo "Version: 1.1.1" >> package/DEBIAN/control
echo "Priority: optional" >> package/DEBIAN/control
echo "Architecture: amd64" >> package/DEBIAN/control
echo "Depends: ca-certificates" >> package/DEBIAN/control
Expand Down

0 comments on commit 3f7f045

Please sign in to comment.