blob: 7053321d1c15b156b188f408ccbe4213b05282f9 (
plain)
1
2
3
4
5
|
#!/usr/bin/sh
# don't edit the electron binary name here! simply change the variable in the PKGBUILD and we will sed it into the correct one :)
# manually add an empty arg to prevent the error when "$@" is empty
LD_PRELOAD=/usr/lib/typora/snapshot-hook.so exec __ELECTRON__ /usr/lib/typora/app.asar "$@"
|