forked from Syntist/proton-tkg-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (37 loc) · 2.01 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (37 loc) · 2.01 KB
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
services:
proton-tkg:
build: ./
container_name: proton-tkg-builder-2
volumes:
- ./build:/proton-tkg:rw
- ./patches:/patches:rw
working_dir: /proton-tkg
stdin_open: true
tty: true
command: bash -c "
paru -Syu --noconfirm && \
export CARGO_HOME="$PWD" && \
rm -rf * && \
git clone https://github.com/Frogging-Family/wine-tkg-git.git && \
cd wine-tkg-git && \
cd proton-tkg && \
sed -i 's/uninstaller=\"false\"/uninstaller=\"true\"/' proton-tkg.cfg && \
sed -i 's/autoinstall=\"false\"/autoinstall=\"true\"/' proton-tkg.cfg && \
sed -i 's/LOCAL_PRESET=\"\"/LOCAL_PRESET=\"none\"/' proton-tkg.cfg && \
sed -i 's/_build_gstreamer=\"false\"/_build_gstreamer=\"true\"/' proton-tkg.cfg && \
sed -i 's/_lib32_gstreamer=\"false\"/_lib32_gstreamer=\"true\"/' proton-tkg.cfg && \
sed -i 's/_wayland_driver=\"false\"/_wayland_driver=\"true\"/' proton-tkg.cfg && \
sed -i 's/_use_ntsync=\"false\"/_use_ntsync=\"true\"/' proton-tkg.cfg && \
sed -i 's/_use_esync=\"true\"/_use_esync=\"false\"/' proton-tkg.cfg && \
sed -i 's/_use_fsync=\"true\"/_use_fsync=\"false\"/' proton-tkg.cfg && \
sed -i 's/_user_patches_no_confirm=\"false\"/_user_patches_no_confirm=\"true\"/' proton-tkg.cfg && \
cd proton-tkg-profiles && \
sed -i 's/_proton_branch=\"experimental_8.0\"/_proton_branch=\"experimental_9.0\"/' advanced-customization.cfg && \
sed -i 's/_sdl_joy_support=\"false\"/_sdl_joy_support=\"true\"/' advanced-customization.cfg && \
sed -i '/_GCC_FLAGS=/ s|\"$| -DNDEBUG\"|' advanced-customization.cfg && \
grep '_GCC_FLAGS=' advanced-customization.cfg && \
cd .. && \
cp /patches/* /proton-tkg/wine-tkg-git/wine-tkg-git/wine-tkg-userpatches && \
ls -a /proton-tkg/wine-tkg-git/wine-tkg-git/wine-tkg-userpatches && \
touch tarplz && \
yes|./proton-tkg.sh"