diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-12-28 18:51:25 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-12-28 18:51:25 +0900 |
| commit | e6c30ca593fe065d48893e7fea1e1284ee6345e1 (patch) | |
| tree | 4d0d19f7a700805ffc56e13db7a76ab219a055f4 | |
| parent | 69880ae8553b3cc8d34ff8b3ef4b1b9508f159d5 (diff) | |
modified thesiah.sh, modified thesiah.sh
| -rwxr-xr-x | public/thesiah.sh | 7 | ||||
| -rwxr-xr-x | static/thesiah.sh | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh index 0e6a3e1..914d705 100755 --- a/public/thesiah.sh +++ b/public/thesiah.sh @@ -276,9 +276,10 @@ makeuserjs() { overrides="$sipdir/user-overrides.js" userjs="$sipdir/user.js" ln -fs "/home/$name/.config/firefox/thesiah.js" "$overrides" + ln -fs "/home/$name/.config/firefox/chrome" "$sipdir" [ ! -f "$arkenfox" ] && curl -sL "https://raw.githubusercontent.com/arkenfox/user.js/master/user.js" >"$arkenfox" - cat "$arkenfox" "$overrides" >"$userjs" chown "$name:wheel" "$arkenfox" "$userjs" + cat "$arkenfox" "$overrides" >"$userjs" # Install the updating script. mkdir -p /usr/local/lib /etc/pacman.d/hooks cp "/home/$name/.local/bin/arkenfox-auto-update" /usr/local/lib/ @@ -337,8 +338,8 @@ librewolfsetup() { mv "$pdir" "$sipdir" sed -i "s/$profile/$siprofile/g" "$profilesini" - makeuserjs "$sipdir" - installffaddons "$sipdir" + makeuserjs + installffaddons else error "User exited." fi diff --git a/static/thesiah.sh b/static/thesiah.sh index 0e6a3e1..914d705 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -276,9 +276,10 @@ makeuserjs() { overrides="$sipdir/user-overrides.js" userjs="$sipdir/user.js" ln -fs "/home/$name/.config/firefox/thesiah.js" "$overrides" + ln -fs "/home/$name/.config/firefox/chrome" "$sipdir" [ ! -f "$arkenfox" ] && curl -sL "https://raw.githubusercontent.com/arkenfox/user.js/master/user.js" >"$arkenfox" - cat "$arkenfox" "$overrides" >"$userjs" chown "$name:wheel" "$arkenfox" "$userjs" + cat "$arkenfox" "$overrides" >"$userjs" # Install the updating script. mkdir -p /usr/local/lib /etc/pacman.d/hooks cp "/home/$name/.local/bin/arkenfox-auto-update" /usr/local/lib/ @@ -337,8 +338,8 @@ librewolfsetup() { mv "$pdir" "$sipdir" sed -i "s/$profile/$siprofile/g" "$profilesini" - makeuserjs "$sipdir" - installffaddons "$sipdir" + makeuserjs + installffaddons else error "User exited." fi |
