Thank you for your quick response!
I’m able to repack spotify and it also launches normally. The bug is also gone.
Here are the steps that I took, for other people who might want the same thing:
snap download spotify
unsquashfs spotify_*.snap
cd squashfs-root/
- Edit
meta/snap.yaml
to changebase: core18
tobase: core20
cd ..
snap pack ./squashfs-root
-
snap install --dangerous spotify_1.1.84.716.gc5f8b819_amd64.snap
(no need to remove existing spotify snap, the new one will install alright and inherits user data from the existing snap.)
References: