WillieShen

joined 3 weeks ago
[–] WillieShen@lemmy.world 1 points 5 days ago

I selfhosted it on my phone and laptop. Great as a replacement of ILovePDF and those CLI tools that have no common interface (I could write some functions to make one tho).

[–] WillieShen@lemmy.world 2 points 1 week ago

in case I run with set -e

[–] WillieShen@lemmy.world 2 points 1 week ago (3 children)
update_pm() {
  sudo apt update
  sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  echo y | sudo ubuntu-drivers install || true
  sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  echo y | sudo ubuntu-drivers install || true
  sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  echo y | sudo ubuntu-drivers install || true
  sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  echo y | sudo ubuntu-drivers autoinstall || true
  sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  echo y | sudo ubuntu-drivers autoinstall || true
  sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  echo y | sudo ubuntu-drivers autoinstall || true
  sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
  sudo apt clean
  sudo apt autoclean
  flatpak update -y || true
  flatpak uninstall --unused -y || true
  sudo snap refresh || true
  brew update
  echo y | brew upgrade
  echo y | brew autoremove
  brew cleanup
  uv self update
  uv tool upgrade --all
  npm i -g npm
  npm update -g
}
[–] WillieShen@lemmy.world 2 points 1 week ago

I think it can be removed, at least for my phone, in the settings > Google or just use adb.

If they really care about users' security, they should make Graphene OS's GMSCompact and explicit permissions the new standard instead of restricting what apps can they use and forcing invasive system apps. And centralized censorship and requiring an account is not what makes apps secure. Source available and reproducible build is.