使用vscode和执行sudo snap refresh命令出错：
/var/lib/snapd/snap/code/70/command-code.wrapper: line 2: /snap/code/70/electron-launch: No such file or directory
sudo snap remove code
sudo snap install code
sudo snap install --classic code
error: This revision of snap "code" was published using classic confinement and thus may perform
arbitrary system changes outside of the security sandbox that snaps are usually confined to,
which may put your system at risk.
If you understand and want to proceed repeat the command including --classic.
sudo ln -s /var/lib/snapd/snap /snap
snap revert code