From: Chris Hofstaedtler <zeha@debian.org>
Date: Sun, 15 Dec 2024 23:50:29 +0100
X-Dgit-Generated: 2.1.0-1.2 6511813619c1c491cc698dc554116f509bccf14e
Subject: Replace appdirs with platformdirs

Closes: #1088161

---

diff --git a/pyproject.toml b/pyproject.toml
index dc2d9e5..9535108 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,10 +6,10 @@ authors = [
     {name = "OpenXbox"},
 ]
 dependencies = [
-    "appdirs",
     "ecdsa",
     "httpx",
     "ms_cv",
+    "platformdirs",
     "pydantic==2.*",
 ]
 requires-python = ">=3.8"
diff --git a/xbox/webapi/scripts/__init__.py b/xbox/webapi/scripts/__init__.py
index 6eca9df..aa75f23 100644
--- a/xbox/webapi/scripts/__init__.py
+++ b/xbox/webapi/scripts/__init__.py
@@ -1,6 +1,6 @@
 import os
 
-from appdirs import user_data_dir
+from platformdirs import user_data_dir
 
 CLIENT_ID = "388ea51c-0b25-4029-aae2-17df49d23905"
 # No secret needed, we registered as "Desktop App" in Azure AD
