This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
Seems something changed that stopped Apt from fully uninstalling all Snaps, causing the rest of the uninstallation process to fail. This new version will uninstall each snap directly through Snapd before removing snap itself through apt now, making sure everything is fully removed.
22.04 LTS should be able to run this same version of the script just the same.
Separate script to install to /opt instead of a user's .local directory is provided until I can get some proper UI coded to do it in one file. Bare in mind that alternate script will not work for multi-user systems.