Compare commits

..

3 Commits

4 changed files with 17 additions and 12 deletions

View File

@ -30,6 +30,10 @@ adb "$@" shell pm grant ru.karasevm.privatednstoggle android.permission.WRITE_SE
adb "$@" shell pm grant org.kde.kdeconnect_tp android.permission.READ_LOGS adb "$@" shell pm grant org.kde.kdeconnect_tp android.permission.READ_LOGS
adb "$@" shell appops set org.kde.kdeconnect_tp SYSTEM_ALERT_WINDOW allow adb "$@" shell appops set org.kde.kdeconnect_tp SYSTEM_ALERT_WINDOW allow
# https://github.com/cvzi/darkmodewallpaper hopefully fixing Android 14 wallpapers
adb "$@" shell pm grant com.github.cvzi.darkmodewallpaper android.permission.MANAGE_EXTERNAL_STORAGE
adb "$@" shell pm grant com.github.cvzi.darkmodewallpaper android.permission.READ_MEDIA_IMAGES
# Shizuku # Shizuku
#(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &) #(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &)
(adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &) (adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &)

View File

@ -74,7 +74,7 @@ flatpak override im.riot.Riot --talk-name=org.freedesktop.secrets $@
flatpak override org.squidowl.halloy --filesystem=~/snap/halloy:create $@ flatpak override org.squidowl.halloy --filesystem=~/snap/halloy:create $@
# Hardening GearLever, https://github.com/mijorus/gearlever/issues/143 # Hardening GearLever, https://github.com/mijorus/gearlever/issues/143
#flatpak override it.mijorus.gearlever --no-filesystem=home --filesystem=~/.local/share/applications:create --filesystem=~/AppImages:create flatpak override it.mijorus.gearlever --nofilesystem=host:reset --filesystem=~/.local/share/applications:create --filesystem=~/AppImages:create
# Display the overrides # Display the overrides
if [ -d /var/lib/flatpak/overrides/ ]; then if [ -d /var/lib/flatpak/overrides/ ]; then

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# USAGE: "nheko default" for the default profile or whatever profile is # USAGE: "nheko default" for the default profile or whatever profile is
# desired as I never run it without the profile flag # desired.
# TODO: Handle --help & --version flags
# In case of unexplained crashing add the --compact flag!
set -x set -x
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --compact --profile "$@" if [[ "$1" == -* ]]; then
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master "$@"
else
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --compact --profile "$@"
fi
set +x set +x

View File

@ -1,10 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Nheko flatpak with Tor # Nheko flatpak with Tor
# USAGE: "nheko default" for the default profile or whatever profile is # USAGE: "nheko default" for the default profile or whatever profile is
# desired as I never run it without the profile flag # desired
# TODO: Handle --help & --version flags
set -x set -x
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --compact --profile "$@" if [[ "$1" == -* ]]; then
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master "$@"
else
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --compact --profile "$@"
fi
set +x set +x