Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access installed programs (path)? #2

Closed
scivision opened this issue Jan 28, 2024 · 3 comments
Closed

How to access installed programs (path)? #2

scivision opened this issue Jan 28, 2024 · 3 comments

Comments

@scivision
Copy link

What path are executables installed to? On a local physical computer it's like

$env:LOCALAPPDATA/Microsoft/WinGet/Links/ffmpeg.exe

example:

    - name: install prereqs (Windows)
      if: runner.os == 'Windows'
      run: winget install ffmpeg --disable-interactivity --accept-source-agreements

    - name: FFMPEG version
      run: ffmpeg --version

ffmpeg.exe is not on PATH

@scivision
Copy link
Author

Just figured it out as I posted. Might want to make an example in Readme.

https://github.com/scivision/PyLivestream/blob/fa9853bc9a8beb70186b9fc23323f46057cadbfd/.github/workflows/ci.yml#L49

@Cyberboss
Copy link
Owner

Cyberboss commented Jan 29, 2024

@Cyberboss Cyberboss closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2024
@ax3l
Copy link

ax3l commented Jul 23, 2024

This seems to be a general helper package we can use: https://github.com/jazzdelightsme/WingetPathUpdater
But it does not really work for me: jazzdelightsme/WingetPathUpdater#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants