fix(scripts): Correct home path handling #868
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please tick as appropriate:
If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/
Description
use of ~, which is not recognized as the home directory within strings.
Using the ${HOME} environment variable ensures the path is resolved correctly.
before
./plugin-info.sh (deck@steamdeck ~)$after
./plugin-info.sh Directory: /home/deck/homebrew/plugins/BetterKeyboard/ Package Name: better-keyboard Version: 0.3.1 ----------------------------- Directory: /home/deck/homebrew/plugins/DeckScreenshotManager/ Package Name: screenshot-uploader Version: 0.0.3 ----------------------------- Directory: /home/deck/homebrew/plugins/DeckyClash/ Package Name: decky-clash Version: 1.0.0 ----------------------------- Directory: /home/deck/homebrew/plugins/Decky-Framegen/ Package Name: decky-framegen Version: 0.11.15 ----------------------------- Directory: /home/deck/homebrew/plugins/decky-lsfg-vk/ Package Name: decky-lsfg-vk Version: 0.12.2 ----------------------------- Directory: /home/deck/homebrew/plugins/decky-steamgriddb/ Package Name: decky-steamgriddb Version: 1.7.0 ----------------------------- Directory: /home/deck/homebrew/plugins/decky-terminal/ Package Name: decky-terminal Version: 0.5.3 ----------------------------- Directory: /home/deck/homebrew/plugins/EmuDecky/ Package Name: emudecky Version: 1.0.2-1 ----------------------------- Directory: /home/deck/homebrew/plugins/SDH-CssLoader/ Package Name: SDH-CssLoader Version: 2.1.2 ----------------------------- Directory: /home/deck/homebrew/plugins/SDH-PlayTime/ Package Name: PlayTime Version: 3.1.3 ----------------------------- (deck@steamdeck ~)$This fixes issue: #
Please provide a clear and concise description of what the new feature is. If appropriate, include screenshots or videos.