This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Package | |
Target = visual-studio-code-bin | |
[Action] | |
Description = Patching vscode official launch script to avoid lauching in wrong cgroup... | |
Exec = /usr/bin/sed -i -e '$d' -e 's/ELECTRON_RUN_AS_NODE=1 "\$ELECTRON" "\$CLI" "\$@"/ELECTRON_RUN_AS_NODE=1 exec "$ELECTRON" "$CLI" "$@"/' /opt/visual-studio-code/bin/code | |
When = PostTransaction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Package | |
Target = wps-office | |
[Action] | |
Description = Setting desktop and GTK theme for WPS Office | |
When = PostTransaction | |
Exec = /bin/sed -i '1a\export XDG_CURRENT_DESKTOP=GNOME\nexport GTK_THEME=Default\n/' usr/bin/et usr/bin/wps usr/bin/wpp usr/bin/wpspdf |