imLinguin / nile

Unofficial Amazon Games client
GNU General Public License v3.0
306 stars 16 forks source link

Running on a native windows machine #42

Closed buswedg closed 1 year ago

buswedg commented 1 year ago

I've had some problems getting this to run on a Windows 11 machine with Python installed locally (don't have WSL on my game machine).

I assume running this on Win isn't the intended use case you're going after. But I do see something like this as being handy for my needs, where I want to bulk download all of my AmazonGames to an external drive, such that I can move a particular game over to my primary drive when I'm ready to play it.

Legendary works well for me when it comes to EpicGames. So perhaps you're moving this effort in a similar direction?

imLinguin commented 1 year ago

What seems to be an issue? Could you provide logs?

buswedg commented 1 year ago

Well, I would think the preferred way to run this on a win machine (with python available on PATH and your repo cloned to C:\nile) would be to do something like this via command:

cd C:\nile
python -m venv env
call env/Scripts/activate
pip install -r requirements.txt
python -m nile.cli

but that throws the below error for me:

from nile.arguments import get_arguments
ModuleNotFoundError: No module named 'nile'

note that I'm running it like this because the entrypoint in bin\nile is a bash script. So, without having access to wsl. I'd assume you need to run this direct using python at nile/cli.py.

buswedg commented 1 year ago

Never mind, this actually does work per the steps I noted above.