- Code: Select all
../faf-client-venv/bin/python src/__main__.py
but what's going on it seems, is that we're launching the python inside the "faf-client-venv" folder and asking IT to run the main.py inside the "faf-client" folder which is a folder above from within "faf-client-env" and then a folder down.
so in a single command line (without a cd) you can run :
- Code: Select all
/home/t/.faf/faf-client-venv/bin/python /home/t/.faf/faf-client/src/__main__.py
so the desktop file would look like this
[Desktop Entry]
Type=Application
Name=FAForever
Comment=Supreme Commander Forged Alliance game lobby
Path=/home/t/.faf/faf-client
Exec=/home/t/.faf/faf-client-venv/bin/python /home/t/.faf/faf-client/src/__main__.py
Icon=/home/t/.local/share/icons/faf1.png
Terminal=false
Categories=Games
I'm going to try to make a build script.