8000 Add check for WSL to install.sh · Issue #29 · ccdmb/predector · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add check for WSL to install.sh #29
Open
@darcyabjones

Description

@darcyabjones

It's kind of hard to see what version of wsl people are using.
It seems like wsl2 works ok, but wsl1 won't run some of the 32bit dependencies.

there are a few options for how to tell which version it is, but I can't confirm that they will always work.

the environment variable WSL_INTEROP should only be set for wsl2
uname -r will show *-microsoft-standard* for wsl2 but wsl1 will have *-Microsoft *

There may be a directory called /run/WSL in wsl2 but in wsl1 it might be /run/WSL1.

AFAIK this is the best I can do, and i've only looked at it for ubuntu.

We should try to warn people using WSL1 this this is the reason they might get an issue with phobius/signalp3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0