步骤
root 设备
adb shell setprop persist.sys.root_access 3
adb root
重新挂载 /
adb shell 'mount -o rw,remount /'
准备证书文件
hash=$(openssl x509 -inform PEM -subject_hash_old -in proxy.
依赖服务
* docker
* docker compose
* 一个域名
配置服务
traefik/docker-compose.yml
volumes:
letsencryptVolume: {}
services:
traefik:
image: traefik:latest # The official v3 Traefik docker image
command:
- "--log.level=DEBUG"
- "--api.insecure=
用Mac就是贪方便,如果玩起来太麻烦我就懒的弄了,不想输入太多指令,只需brew装一个软件即可,然后界面安装就好了
需要准备的东西
* Apple Game Porting Toolkit Installer
* Wineskin
* steam
安装步骤
1. 打开Apple Game Porting Toolkit Installer下载的agpt.dmg
2. 双击运行安装程序,应该默认点击下一步就好了,然后会自动下载依赖,和安装gpt
3. 安装 Wineskin
brew install --cask --no-quarantine
du -d1 -h --threshold=-1G | sort -h | cut -f2 | cut -d / -f2 | awk '{print "\""$0"\""}' | xargs -I {} rm -rf {}
执行上面的命令就可以删除当前目录下,小于1G的目录了,只会删除第一层的目录
du -sm * | awk
为什么用StrokesPlus
网上大部分都是修改注册表的,这样换个鼠标又不行了,而且配置也麻烦。一些三方工具在系统级界面反向滚轮好像没有效果。StrokesPlus 除了解决上面两个问题,也可以实现很多功能,支持脚本自定义,可玩性比较高。
步骤
* 打开https://www.strokesplus.net
* 下载,并安装
* 打开主界面
* 点击鼠标事件
* 点击勾选两个勾选框
* 黏贴如下代码
sp.MouseWheel(wheel.Point,wheel.Horizontal,-wheel.Delta);
* 按Ctrl+S保存
然后就可以尝试有没有效果了