Xmetalfanx / linuxSetup

Xmetal's Linux Scripts
GNU General Public License v3.0
2 stars 2 forks source link

add code to completely remove snap support #250

Closed Xmetalfanx closed 1 year ago

Xmetalfanx commented 1 year ago

I have code to switch the snap of Firefox to the PPA (Mozilla's) version

This idea wouldn't say scan the hardrive (or would it?" for snaps and replace them with Flatpaks say like https://github.com/popey/unsnap (and if there was current development i'd just link to that project versus writing my own code)

This idea is just to remove Snap support ... dont think i would have to scan say "snap list" and ask the user if they are sure they want to remove snap support because "this snap app" and "that snap app" wouldn't work

Xmetalfanx commented 1 year ago

https://github.com/Xmetalfanx/linuxSetup/commit/6ae9475483c1d44182e82a4be9c2084285afcb4a

Xmetalfanx commented 1 year ago

as of https://github.com/Xmetalfanx/linuxSetup/commit/5ff9fed64a8611a2d7a7d855621909f36e424803 this commit the removal works but a sudo apt install firefox (example) would reinstall it

Xmetalfanx commented 1 year ago

by here https://github.com/Xmetalfanx/linuxSetup/commit/b082c44794fb30f5de0c493a921676c3d1b4c663 this is tested and working on Ubuntu