Skip to content

Commit

Permalink
battlenet-fix: Don`t apply patch on staging commit (#1262)
Browse files Browse the repository at this point in the history
* battlenet-fix: dont apply patch on staging commit

Signed-off-by: Kirill Artemev <artewar6767@gmail.com>

* customization.cfg: Remove _battlenet_fix variable

* battlenet-fix: Don`t check variable "_battlenet_fix"

I think we don't need this variable, it's better to apply the patch automatically

---------

Signed-off-by: Kirill Artemev <artewar6767@gmail.com>
  • Loading branch information
Artewar67 authored Sep 21, 2024
1 parent 07dfd35 commit 033fda9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions wine-tkg-git/customization.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ _kof98_2002_BGM_fix="false"
# This patchset breaks Genshin Impact
_quake_champions_fix="false"

# Fix for Battle.Net Launcher - https://bugs.winehq.org/show_bug.cgi?id=29384
_battlenet_fix="true"

#### OTHER PATCHES ####

# launch with dedicated gpu desktop entry patch - makes an additional desktop entry which launches app with DRI_PRIME set to 1 (only for switchable graphics with mesa drivers)
Expand Down
2 changes: 1 addition & 1 deletion wine-tkg-git/wine-tkg-patches/hotfixes/battlenet/hotfixes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Fix for battle.net launcher
if [ "$_battlenet_fix" = "true" ] && ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor 65124f15acc5705eb159d5d920877f0ac4835d27 HEAD ); then
if [ "$_use_staging" = "true" ] && ( cd "${srcdir}"/"${_stgsrcdir}" && git merge-base --is-ancestor c901884ac0af17eeeac309269693d959cfb45e0b HEAD && ! git merge-base --is-ancestor e68e4dbb7529295dc4fde320689f80b1215a0419 HEAD); then
_hotfixes+=("$_where"/wine-tkg-patches/hotfixes/battlenet/battlenet)
warning "Hotfix: Fix for Battle.Net launcher"
fi

0 comments on commit 033fda9

Please sign in to comment.