-
Notifications
You must be signed in to change notification settings - Fork 8
/
snapcraft.yaml
88 lines (76 loc) · 3.06 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: tmnationsforever
title: TrackMania Nations Forever
version: '2.11.26'
summary: The most popular online PC racing game.
description: |
The most popular online PC racing game. It fuels 7 different racing environments; hundreds of thousands of tracks and millions of players to compete with. You can download the car you are dreaming of, paint it, drive it through insane tracks made of loopings, ramps and off roads. It is all about you, your driving skills and the track in front of you.
Just to make sure we understand each other: this is pure arcade driving madness.
**This snap uses Wine**
This snap contains a Windows application. It runs on Linux using the Wine compatibility layer. Some features may not work correctly due to the differences between Windows and Wine.
**Authors**
This snap package is maintained by the Snapcrafters community. It is not necessarily endorsed or officially maintained by the developers of the application itself.
website: https://www.trackmaniaforever.com/
contact: https://github.com/snapcrafters/tmnationsforever/issues
issues: https://github.com/snapcrafters/tmnationsforever/issues
source-code: https://github.com/snapcrafters/tmnationsforever
license: Proprietary
grade: stable
icon: snap/gui/tmnationsforever.png
confinement: strict
base: core18
architectures:
- build-on: amd64
environment:
WINEDLLOVERRIDES: "$WINEDLLOVERRIDES;mscoree,mshtml=" # Prevent pop-ups about Wine Mono and Wine Gecko
apps:
tmnationsforever:
extensions: [ gnome-3-28 ]
command: bin/sommelier run-exe
environment:
RUN_EXE: "C:/Program Files (x86)/TmNationsForever/TmForeverLauncher.exe"
INSTALL_URL: "http://files.trackmaniaforever.com/tmnationsforever_setup.exe"
INSTALL_FLAGS: "/silent"
SOMMELIER_VIRTDESKTOP: 1
plugs:
- home
- network
- network-bind
- opengl
- audio-playback
- joystick
# The wine command can be used to run applications inside the wine
# environment that this snap uses.
#
# For example, users can configure the wine environment of this snap
# by running `myapp.wine winecfg`.
wine:
extensions: [ gnome-3-28 ]
command: bin/sommelier
plugs:
- home
- network
# The winetricks command can be used to run winetricks inside the wine
# environment that this snap uses.
winetricks:
extensions: [ gnome-3-28 ]
command: bin/sommelier winetricks
plugs:
- network
parts:
# The sommelier script helps you snap Windows applications using Wine. It
# initializes and configures Wine and installs the Windows application.
sommelier-core:
plugin: make
source: https://github.com/snapcrafters/sommelier-core.git
source-branch: "1.0"
# These plugs are used to connect the snap to the wine runtime.
plugs:
wine-runtime:
interface: content
target: $SNAP/wine-runtime
default-provider: wine-platform-runtime
# We use Wine 3 because the framerate is higher compared to newer versions
wine-3-stable:
interface: content
target: $SNAP/wine-platform
default-provider: wine-platform-3-stable