Giter Club home page Giter Club logo

Comments (4)

Matoking avatar Matoking commented on August 14, 2024

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.

ell1e avatar ell1e commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.