blob: 6e4661a7c69af1c25ae320e6d0499c68e0a7cf42 (
plain)
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
|
post_install() {
cat <<'EOF'
wegame-dwproton is an unofficial, unsupported compatibility integration.
Review Tencent's current WeGame agreement before use:
https://www.wegame.com.cn/contract/
DWProton 11.0-12 is bundled in this package from its official upstream release.
Run "wegame-dwproton" to start the official installer. Keep its default path.
The per-user prefix is stored under:
${XDG_DATA_HOME:-$HOME/.local/share}/wegame-dwproton/compatdata/pfx
EOF
}
post_upgrade() {
post_install
}
post_remove() {
cat <<'EOF'
The per-user WeGame prefix and update backups were not removed.
Remove them manually after confirming that no data is needed:
rm -rf -- "${XDG_DATA_HOME:-$HOME/.local/share}/wegame-dwproton"
rm -rf -- "${XDG_STATE_HOME:-$HOME/.local/state}/wegame-dwproton"
rm -rf -- "${XDG_CACHE_HOME:-$HOME/.cache}/wegame-dwproton"
EOF
}
|