summarylogtreecommitdiffstats
path: root/vesktop-spoof.hook
blob: 36887f5f9d8b364f5ec1854f4429e79df3c35006 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = vesktop vesktop-bin vesktop-git vesktop-electron vesktop-electron-git

[Action]
Description = Updating vesktop launch to spoof Windows (VPN patch)...
Depends = sed
When = PostTransaction
Exec = /usr/bin/sed -i 's|Exec=/usr/bin/vesktop\s*%U|Exec=/usr/bin/vesktop --user-agent-os windows %U|' /usr/share/applications/vesktop.desktop