Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mieru client can't start on Win10 #37

Closed
amd64v3 opened this issue Oct 29, 2022 · 3 comments
Closed

Mieru client can't start on Win10 #37

amd64v3 opened this issue Oct 29, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@amd64v3
Copy link

amd64v3 commented Oct 29, 2022

Hello dev, I update the mieru client to 1.8.0 from 1.6.1 on my Win10 device, but it can't start normally, the error message is:
start mieru client failed: exec: "mieru": cannot run executable found relative to current directory
It works normal on Win10 with 1.6.1, dosen't work with 1.7.0 and 1.8.0, then I tested 1.8.0 in my arm64 linux device, it works normally, here is my mieru config:

{
    "profiles": [
        {
            "profileName": "default",
            "user": {
                "name": "name",
                "password": "pass"
            },
            "servers": [
                {
                    "ipAddress": "x.x.x.x",
                    "domainName": "",
                    "portBindings": [
                        {
                            "port": 12345,
                            "protocol": "TCP"
                        }
                    ]
                }
            ],
            "mtu": 1400
        }
    ],
    "activeProfile": "default",
    "rpcPort": 1234,
    "socks5Port": 5678,
    "loggingLevel": "INFO",
    "socks5ListenLAN": false	
}

It works normal on my linux device, so my config should be ok. Is this a bug ?

@enfein enfein added the bug Something isn't working label Oct 30, 2022
@enfein
Copy link
Owner

enfein commented Oct 30, 2022

I don't have this issue in my Win10. I think it is related to https://tip.golang.org/doc/go1.19#os-exec-path

I changed the go version to 1.19 when building 1.7.0 and 1.8.0 files.

enfein added a commit that referenced this issue Oct 30, 2022
@enfein
Copy link
Owner

enfein commented Oct 30, 2022

@amd64v3 Can you try the artifacts in https://github.com/enfein/mieru/actions/runs/3353979799 and see the latest commit fixes this issue?

@amd64v3
Copy link
Author

amd64v3 commented Oct 30, 2022

Thanks! It has been fixed 👍

@amd64v3 amd64v3 closed this as completed Oct 30, 2022
enfein added a commit that referenced this issue Oct 30, 2022
1. Fix issue #37 mieru fail to start in some Win10 devices.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants