diff options
author | Łukasz Mariański | 2022-08-08 06:11:18 +0200 |
---|---|---|
committer | Łukasz Mariański | 2022-08-08 06:12:14 +0200 |
commit | e285006defdae43108cae721632f36adf7c8cdc8 (patch) | |
tree | a929baed33aa9b3d5bf94ae8b8f5f503bf975173 /replugged.sh | |
download | aur-e285006defdae43108cae721632f36adf7c8cdc8.tar.gz |
Initial commit, (mostly) copied over from powercord-electron-git
Diffstat (limited to 'replugged.sh')
-rwxr-xr-x | replugged.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/replugged.sh b/replugged.sh new file mode 100755 index 000000000000..d5a5b56f8808 --- /dev/null +++ b/replugged.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +XDG_DATA_HOME="${XDG_DATA_HOME:=$HOME/.local/share}" +mkdir -p "$XDG_DATA_HOME/replugged/"{plugins,themes} + +for DIR in /usr/share/replugged/src/Powercord/plugins/*/ +do + ln -s "$DIR" "$XDG_DATA_HOME/replugged/plugins/" &>/dev/null +done + +exec electron19 /usr/share/replugged/ "$@"
\ No newline at end of file |