GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build(tun2socks): :fire: 1. 新增依赖为子模块. 2. 设置 tun2socks 日志级别为 error. · CKNetCapture/appproxy@7b69bc0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitmodules
  • README.md
  • android/app
    • libs
      • tun2socks-sources.jar
      • tun2socks.aar
    • src/main/kotlin/cn/ys1231/appproxy/IyueService
      • IyueVPNService.kt
  • lib/ui
    • settings.dart
  • pubspec.yaml
  • tun2socks
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitmodules‎

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "tun2socks"]
2+
path = tun2socks
3+
url = https://github.com/xjasonlyu/tun2socks.git
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,30 @@
3535

3636
# 开发
3737

38+
## build tun2socks
39+
40+
- `touch tun2socks/build.sh`
41+
42+
```shell
43+
#!/bin/zsh
44+
set -x
45+
SCRIPT_DIR=$(dirname "\$0")
46+
cd "$SCRIPT_DIR"
47+
# init
48+
go install golang.org/x/mobile/cmd/gomobile@latest
49+
go get
50+
go get golang.org/x/mobile/bind
51+
make
52+
gomobile init
53+
gomobile bind -o ../android/app/libs/tun2socks.aar -target android ./engine
54+
ls ../android/app/libs/tun2socks.aar
55+
```
56+
3857
```shell
3958
# 如果发现Android Studio 调试flutter 自动跳到一个只读的文件,调试的时候无法修改代码,可以恢复上一个版本,是的坑.
4059
# 推荐 Android Studio Iguana | 2023.2.1 Patch 2
4160
# line 设置为 100
61+
tun2socks/build.sh
4262
flutter build apk --release --split-per-abi --build-name=$VERSION --obfuscate --split-debug-info ./build/
4363
```
4464

Collapse file

‎android/app/libs/tun2socks-sources.jar‎

Copy file name to clipboard
6.76 KB
Binary file not shown.
Collapse file

‎android/app/libs/tun2socks.aar‎

Copy file name to clipboard
3.08 MB
Binary file not shown.
Collapse file

‎android/app/src/main/kotlin/cn/ys1231/appproxy/IyueService/IyueVPNService.kt‎

Copy file name to clipboardExpand all lines: android/app/src/main/kotlin/cn/ys1231/appproxy/IyueService/IyueVPNService.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class IyueVPNService : VpnService() {
124124
key.mtu = 1500
125125
key.device = "fd://" + vpnInterface!!.fd // <--- here
126126
key.setInterface("")
127-
key.logLevel = "debug"
127+
key.logLevel = "error"
128128
key.proxy =
129129
"${proxyType}://${proxyUser}:${proxyPass}@${proxyHost}:${proxyPort}" // <--- and here
130130
key.restAPI = ""
Collapse file

‎lib/ui/settings.dart‎

Copy file name to clipboardExpand all lines: lib/ui/settings.dart
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class _AppSettingsState extends State<AppSettings> {
116116
children: [
117117
Text(S.of(context).text_describe),
118118
Text(S.of(context).text_author),
119-
Text('${S.of(context).text_update_time}:2024-11-23'),
119+
Text('${S.of(context).text_update_time}:2025-01-03'),
120120
Row(
121121
children: [
122122
const Text('github:'),
Collapse file

‎pubspec.yaml‎

Copy file name to clipboardExpand all lines: pubspec.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1717
# In Windows, build-name is used as the major, minor, and patch parts
1818
# of the product and file versions while build-number is used as the build suffix.
19-
version: 0.1.0+10
19+
version: 0.1.4+14
2020

2121
environment:
2222
sdk: '>=3.3.1 <4.0.0'
Collapse file

‎tun2socks‎

Copy file name to clipboard
Submodule tun2socks added at ec85410

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.