summary refs log tree commit diff
path: root/d2launcher
diff options
context:
space:
mode:
Diffstat (limited to 'd2launcher')
-rw-r--r--d2launcher/PKGBUILD8
-rw-r--r--d2launcher/d2launcher.patch45
2 files changed, 19 insertions, 34 deletions
diff --git a/d2launcher/PKGBUILD b/d2launcher/PKGBUILD
index d3820ed..e8a111b 100644
--- a/d2launcher/PKGBUILD
+++ b/d2launcher/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=d2launcher
-pkgver=3.6.4
-pkgrel=4
+pkgver=4.0.5
+pkgrel=1
 pkgdesc="Launcher for Diablo 2, Median XL and D2 Stats"
 arch=('x86_64')
 url="https://github.com/murkl/d2launcher"
@@ -11,8 +11,8 @@ source=("d2launcher.desktop"
 	"d2launcher.patch"
 	"${pkgname}-${pkgver}.tar.gz::https://github.com/murkl/d2launcher/archive/refs/tags/${pkgver}.tar.gz")
 sha256sums=('SKIP'
-	'SKIP'
-	'2aa225ee00d653bb13f4a84caf48d7cfc172f7555613c2f7c063fdaa784e2c5d')
+			'SKIP'
+            '08f389f9fecaf9448d98998be82108dcb007018af609c838f89fd5d56a6501a0')
 
 prepare() {
 	patch --directory="${srcdir}/${pkgname}-${pkgver}" --strip=1 --input="${srcdir}/d2launcher.patch"
diff --git a/d2launcher/d2launcher.patch b/d2launcher/d2launcher.patch
index 59316ee..ee0f662 100644
--- a/d2launcher/d2launcher.patch
+++ b/d2launcher/d2launcher.patch
@@ -1,40 +1,25 @@
-From 8cb8a315398edd0121e4cf4f9820c5a1e777285a Mon Sep 17 00:00:00 2001
+From dc3236072ded6f0db3d74141b9f84a4df07f653a Mon Sep 17 00:00:00 2001
 From: Starfall <us@starfall.systems>
-Date: Mon, 8 Jan 2024 08:03:57 -0600
-Subject: [PATCH] patch to use Zaharel's d2stats fork
+Date: Fri, 1 Nov 2024 13:29:48 -0500
+Subject: [PATCH] Fix color for dark theme
 
 ---
- d2launcher | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
+ d2launcher | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/d2launcher b/d2launcher
-index 01dabb1..28091dc 100755
+index ea94112..b175935 100755
 --- a/d2launcher
 +++ b/d2launcher
-@@ -77,7 +77,7 @@ MXL_PATCH_VERSION="d2launcher-patch.version"
+@@ -106,7 +106,7 @@ gui_size="9"
+ gui_dialog_width="340"
+ gui_dialog_height="160"
+ gui_dialog_font="monospace"
+-gui_dialog_color="#3e3e3e"
++gui_dialog_color="#fff8e7"
+ gui_dialog_size="9"
  
- # Urls
- wine_native_url="https://github.com/Kron4ek/Wine-Builds/releases/download/7.0-5-proton/wine-7.0-5-proton-amd64.tar.xz"
--d2_stats_url="https://github.com/Kyromyr/D2Stats/releases/download/3.11.5/D2Stats-3.11.5.rar"
-+d2_stats_url="https://github.com/Zahariel1942/D2Stats/releases/download/4.0.0/D2Stats.zip"
- d2_sigma_loader_url="https://github.com/SyndromeDayna/diablo-2-median-xl-sigma-loader/releases/download/3/sigma-loader.exe"
- 
- # Wine
-@@ -669,10 +669,10 @@ check_d2stats_install() {
-             rm -f -r "$D2_STATS_BIN_DIR"
-             mkdir -p "$D2_STATS_BIN_DIR"
-             cd "$D2_STATS_BIN_DIR" || exit 1
--            local rar_file=d2-stats.rar
--            curl -Lk "$d2_stats_url" -o "$rar_file"
--            unrar x "$rar_file"
--            rm "$rar_file"
-+            local zip_file=d2-stats.zip
-+            curl -Lk "$d2_stats_url" -o "$zip_file"
-+            7z x "$zip_file"
-+            rm "$zip_file"
-         ) &
-         if ! zenity_progress $! "Downloading D2Stats"; then
-             rm -f -r "$D2_STATS_BIN_DIR"
+ # /////////////////////////////////////////////////////
 -- 
-2.43.0
+2.47.0