Snaps with wine and 64 bit prefix

Hello all!

Is there any way to use 64 bit wineprefix for apps in Snaps containing WINE?

I clone This repository to my HDD and change in snapcraft.yaml:
WINE_ARCH from i386 to amd64 and then delete all :i386 from stage-packages libs
in sommelier script I set up winearch=win64 and set path to wine to $SNAP/bin/wine64
then I run the SNAPCRAFT_BUILD_ENVIRONMENT=lxd snapcraft command in terminal to build the snap.
When I try to launch it

notify-send: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory
yad: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

messages appear.

Yes using a 64bit WINEPREFIX is possible. See the gog-galaxy-wine snap I maintain over at:

2 Likes