Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode/
.vscode/
.idea
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ install:
install -Dm644 README.md -t "$(PREFIX)/share/doc/steamtinkerlaunch"
install -Dm644 "misc/steamtinkerlaunch.desktop" -t "$(PREFIX)/share/applications"
install -Dm644 "misc/steamtinkerlaunch.svg" -t "$(PREFIX)/share/icons/hicolor/scalable/apps"
ifeq (, $(shell which pacman))
install -Dm644 "misc/proton.hook" -t "/etc/pacman.d/hooks"
endif

uninstall:
rm -f "${PREFIX}/share/icons/hicolor/scalable/apps/steamtinkerlaunch.svg"
Expand Down
17 changes: 17 additions & 0 deletions misc/proton.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[Trigger]
Operation=Install
Operation=Upgrade
Type=Package
Target=proton
Target=proton-cachyos
Target=proton-slr
Target=proton-cachyos-slr
Target=proton-ge
Target=proton-ge-custom-bin

[Action]
Description=Remove launch-time fetched steamtinkerlaunch Proton versions to force list recompilation.
Depends=coreutils
When=PostTransaction
NeedsTargets
Exec=/usr/bin/rm -f /dev/shm/steamtinkerlaunch/ProtonCSV.txt