This is the snap for C&C: Tiberian Sun. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.
Published for with :gift_heart: by Snapcrafters
snap install cnctsun
You can use this snap as a reference for creating snaps of other WINE compatible 32-bit Windows applications or games. Here are the main things you'll need to modify:
apps:
and parts:
names from tsun
.command:
to reference the executable the application/game should launch.INSTALL_URL:
to reference a web accessible installer.install_app()
and launch_app()
functions in snap/scripts/sommelier
to suit the application/game you're snapping.TITLE
and NOTICE
in snap/scripts/sommelier
to suit the application/game you're snapping.INSTALL_URL:
in the environment:
of the main command:
to reference a web accessible installer.VIRTDESKTOP: 1
to the environment:
of the main command:
to enable virtual desktop or set it to 0
or remove it completely to disable a virtual desktop.DLLOVERRIDES:
in the environment:
of the main command:
.TRICKS:
in the environment:
of the main command:
.Here's an example environment:
that shows how to use some of the capabilities outlined above:
environment:
WINEPREFIX: "$SNAP_USER_COMMON/.wine"
DLLOVERRIDES: "mscoree,mshtml=" # Prevent pop-ups about Wine Mono and Wine Gecko
INSTALL_URL: "https://www.xyz.com/setup.exe"
TRICKS: "winxp corefonts d3dx9_43"
VIRTDESKTOP: 1
LC_ALL: "C.UTF-8"
One other point of interest is that yad
is staged in the snap and a
faux zenity
script is included that execs yad
. We do this because
yad
is argument compatible with zenity
but pulls far fewer package
dependencies.
If you have any questions about creating snaps of WINE compatible Windows applications then post in the Snapcraft forum.