Skip to content

Commit 54d122f

Browse files
committed
html文件集成到程序中
1 parent 6dd3ad0 commit 54d122f

14 files changed

Lines changed: 109 additions & 19 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules
22
remote_control/build/remote_control/
3+
go-touch-mapper
4+
go-touch-mapper_arm64

README.MD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ go-touch-mapper -c configs/SMC_JS.json
7878
## 配置文件
7979
[创建映射文件工具](https://riderlty.github.io/go-touch-mapper/)
8080

81+
也可以使用程序自带的```http://[ip]:61070/```,可直接截取手机屏幕。
82+
83+
8184
如有需要,可参照[EXAMPLE.JSON](https://github.com/RiderLty/go-touch-mapper/blob/main/configs/EXAMPLE.JSON)手动修改配置文件
8285

8386
可自动检测屏幕旋转方向,始终以左上角为原点,向右为X,向下为Y

debug.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CGO_ENABLE=0 GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o go-touch-mapper_arm64
2+
adb push ./go-touch-mapper_arm64 /data/local/tmp
3+
adb shell /data/local/tmp/go-touch-mapper_arm64 -c /data/local/tmp/hpjy.json
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"files": {
33
"main.css": "./static/css/main.8f9990f9.css",
4-
"main.js": "./static/js/main.f48314e6.js",
4+
"main.js": "./static/js/main.3c21abb5.js",
55
"static/js/787.99840637.chunk.js": "./static/js/787.99840637.chunk.js",
66
"static/media/logo.svg": "./static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg",
77
"index.html": "./index.html",
88
"main.8f9990f9.css.map": "./static/css/main.8f9990f9.css.map",
9-
"main.f48314e6.js.map": "./static/js/main.f48314e6.js.map",
9+
"main.3c21abb5.js.map": "./static/js/main.3c21abb5.js.map",
1010
"787.99840637.chunk.js.map": "./static/js/787.99840637.chunk.js.map"
1111
},
1212
"entrypoints": [
1313
"static/css/main.8f9990f9.css",
14-
"static/js/main.f48314e6.js"
14+
"static/js/main.3c21abb5.js"
1515
]
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.f48314e6.js"></script><link href="./static/css/main.8f9990f9.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1+
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.3c21abb5.js"></script><link href="./static/css/main.8f9990f9.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

go-touch-mapper-gh-pages/build/static/css/main.8f9990f9.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go-touch-mapper-gh-pages/build/static/js/main.3c21abb5.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go-touch-mapper-gh-pages/build/static/js/main.f48314e6.js.LICENSE.txt renamed to go-touch-mapper-gh-pages/build/static/js/main.3c21abb5.js.LICENSE.txt

File renamed without changes.

go-touch-mapper-gh-pages/build/static/js/main.3c21abb5.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go-touch-mapper-gh-pages/build/static/js/main.f48314e6.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)