Comments (4)
The working directory is set to the selected app's installation directory, but only for custom commands and protontricks-launch
. Winetricks commands instead use the current working directory.
protontricks-launch --appid <APPID> <EXE>
is more or less a shorthand for protontricks -c "wine <EXE>" <APPID>
, so depending on your use case you could use protontricks -c "cd <PATH>; wine <EXE>" <APPID>
instead.
The current situation is admittedly confusing. It might be better to remove this functionality and let the shell/desktop environment take care of the working directory in all cases instead. I don't recall there being any specific reason for this besides it being a tad more convenient when running protontricks -c bash <APPID>
. Some 3rd party scripts might rely on this behavior, but hopefully not.
from protontricks.
An option to control this behavior might be enough if you don't want to change the default. Maybe I'm wrong about this, but wrong working directory errors tend to be fairly obvious to any user who has used the terminal before, which seems to be the crowd that would use protontricks-launch(??). So I think most people would look in --help
at that point to figure out how to set it. But maybe I'm underestimating the potential confusion for others, I'm not sure.
from protontricks.
Related Issues (20)
- Error on startup HOT 7
- Invalid file magic number HOT 3
- Unable to open game data, "invalid magic number" HOT 1
- Crashes while open the application HOT 1
- Keyerrors 'name' and 'userconfig' on new package installation HOT 4
- Protontricks will not work HOT 5
- Virtual Desktop enabled games fail to display. HOT 2
- Protontricks crashes if the user does not have permission to access an invalid Steam Library Folder HOT 1
- protontricks error code - help? HOT 3
- protontricks-launch with windows style path HOT 2
- insufficient permissions HOT 2
- PROTONTRICKS_STEAM_RUNTIME not set HOT 2
- Cant get game to load. GBFVSR HOT 3
- Some tests are broken by pytest 8 HOT 1
- protontricks not launching on steam deck HOT 3
- Cannot install Microsoft C++ Runtime 2019 // Stray wont work HOT 4
- Protontricks fails with warning: Unknown file arch of /home/$USER/.cache/protontricks/proton/GE-Proton9-1/bin/wineserver. HOT 5
- Cannot Install dll HOT 1
- [wow64] error with checking HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protontricks.