mellow-io / mellow

Mellow is a rule-based global transparent proxy client for Windows, macOS and Linux. Also a Proxifier alternative.
3.55k stars 469 forks source link

无法在M1芯片的mac上开启透明代理 #315

Closed Atry closed 3 years ago

Atry commented 3 years ago

使用操作系统类型以及版本

macOS 11.1 (Apple M1)

使用 Mellow 版本

v0.1.22

问题描述

截屏2021-01-21 20 48 49

虽然会报错,但代理服务器可以使用。问题是直连时不会启用代理

问题复现步骤

打开 Mellow,连接任意配置

相关配置

任意配置

相关日志、截图

[2021-01-21 20:42:43.666] [info] Error: Command failed: "/Library/Application Support/Mellow/route" delete default
    at checkExecSyncError (child_process.js:634:11)
    at execSync (child_process.js:670:15)
    at electron/js2c/asar.js:727:23
    at configRoute (/Applications/Mellow.app/Contents/Resources/app.asar/src/main.js:703:9)
[2021-01-21 20:43:41.037] [info] Original gateway is 192.168.1.1
[2021-01-21 20:43:41.038] [info] Original send through 192.168.1.19 en0
[2021-01-21 20:43:41.042] [info] Set system proxy with command: "/Applications/Mellow.app/Contents/Resources/src/helper/configure_proxy" "off" 2885 2886
[2021-01-21 20:43:41.617] [info] Core started.
[2021-01-21 20:43:41.629] [info] The default gateway before configuring routes:
[2021-01-21 20:43:41.630] [info] { gateway: '192.168.1.1', interface: 'en0' }
[2021-01-21 20:43:41.631] [info] Core stopped, code 0 signal null
Atry commented 3 years ago

作者跑路了。我把修改后的版本上传到我的分支了:https://github.com/Atry/mellow/releases/tag/v0.1.22-patch-1

ihewro commented 3 years ago

作者跑路了。我把修改后的版本上传到我的分支了:https://github.com/Atry/mellow/releases/tag/v0.1.22-patch-1

下载了这个版本 仍然是有问题的,日志如下:

[2021-03-03 00:13:43.040] [info] Created config folder /Users/hewro/Library/Application Support/Mellow/config
[2021-03-03 00:13:43.187] [info] Mellow (0.1.22) started.
[2021-03-03 00:14:39.464] [info] Checking helper files.
[2021-03-03 00:14:39.532] [info] Error: Command failed: "/Library/Application Support/Mellow/md5sum" "/Applications/Mellow.app/Contents/Resources/src/helper/geo.mmdb"
/bin/sh: /Library/Application Support/Mellow/md5sum: No such file or directory

    at checkExecSyncError (child_process.js:634:11)
    at execSync (child_process.js:670:15)
    at electron/js2c/asar.js:727:23
    at checkHelper (/Applications/Mellow.app/Contents/Resources/app.asar/src/main.js:378:21)
    at up (/Applications/Mellow.app/Contents/Resources/app.asar/src/main.js:813:14)
    at click (/Applications/Mellow.app/Contents/Resources/app.asar/src/main.js:1080:9)

后来brew install md5sha1sum 之后有md5sum了,但是/资源库/Application Support/Mellow/ 还是缺失了三个文件:

从我的旧电脑上面拷贝过来可以,不知道是我的环境问题 还是install_helper脚本没有兼容m1

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days