diff --git a/cs2tracker/constants.py b/cs2tracker/constants.py index d0a0890..0640afd 100644 --- a/cs2tracker/constants.py +++ b/cs2tracker/constants.py @@ -150,7 +150,9 @@ def copy_initial_files_with_popup(): else: MODULE_DIR = os.path.dirname(os.path.abspath(__file__)) - PROJECT_DIR = os.path.dirname(MODULE_DIR) + # The project directory doesn't really exist in this case + # (pip only installs contents of cs2tracker/cs2tracker in site-packages) + PROJECT_DIR = MODULE_DIR DATA_DIR = os.path.join(MODULE_DIR, "data") CONFIG_FILE = os.path.join(DATA_DIR, "config.ini") @@ -160,7 +162,7 @@ def copy_initial_files_with_popup(): INVENTORY_IMPORT_SCRIPT = os.path.join(DATA_DIR, "get_inventory.js") NODE_MODULES = os.path.join(DATA_DIR, "node_modules") - ICON_FILE = os.path.join(PROJECT_DIR, "assets", "icon.ico") + ICON_FILE = os.path.join(DATA_DIR, "icon.ico") BATCH_FILE = os.path.join(DATA_DIR, "cs2tracker_scraper.bat") INVENTORY_IMPORT_FILE = os.path.join(DATA_DIR, "inventory.json") INVENTORY_IMPORT_SCRIPT_DEPENDENCIES = [ @@ -224,4 +226,5 @@ def copy_initial_files_with_popup(): "Copenhagen 2024 Sticker Capsule": "https://steamcommunity.com/market/search?q=copenhagen+capsule", "Shanghai 2024 Sticker Capsule": "https://steamcommunity.com/market/search?q=shanghai+capsule", "Austin 2025 Sticker Capsule": "https://steamcommunity.com/market/search?q=austin+capsule", + "Budapest 2025 Sticker Capsule": "https://steamcommunity.com/market/search?q=budapest+capsule", } diff --git a/cs2tracker/data/config.ini b/cs2tracker/data/config.ini index 975081e..9911fd2 100644 --- a/cs2tracker/data/config.ini +++ b/cs2tracker/data/config.ini @@ -60,6 +60,10 @@ https://steamcommunity.com/market/listings/730/Austin%202025%20Challengers%20Aut https://steamcommunity.com/market/listings/730/Austin%202025%20Champions%20Autograph%20Capsule ~ 0 https://steamcommunity.com/market/listings/730/Austin%202025%20Contenders%20Autograph%20Capsule ~ 0 https://steamcommunity.com/market/listings/730/Austin%202025%20Legends%20Autograph%20Capsule ~ 0 +https://steamcommunity.com/market/listings/730/Budapest%202025%20Challengers%20Autograph%20Capsule ~ 0 +https://steamcommunity.com/market/listings/730/Budapest%202025%20Champions%20Autograph%20Capsule ~ 0 +https://steamcommunity.com/market/listings/730/Budapest%202025%20Contenders%20Autograph%20Capsule ~ 0 +https://steamcommunity.com/market/listings/730/Budapest%202025%20Legends%20Autograph%20Capsule ~ 0 [Case Keys] @@ -171,6 +175,9 @@ https://steamcommunity.com/market/listings/730/Shanghai%202024%20Legends%20Stick https://steamcommunity.com/market/listings/730/Austin%202025%20Challengers%20Sticker%20Capsule ~ 0 https://steamcommunity.com/market/listings/730/Austin%202025%20Contenders%20Sticker%20Capsule ~ 0 https://steamcommunity.com/market/listings/730/Austin%202025%20Legends%20Sticker%20Capsule ~ 0 +https://steamcommunity.com/market/listings/730/Budapest%202025%20Challengers%20Sticker%20Capsule ~ 0 +https://steamcommunity.com/market/listings/730/Budapest%202025%20Contenders%20Sticker%20Capsule ~ 0 +https://steamcommunity.com/market/listings/730/Budapest%202025%20Legends%20Sticker%20Capsule ~ 0 [Music Kit Boxes] diff --git a/cs2tracker/data/icon.ico b/cs2tracker/data/icon.ico new file mode 100644 index 0000000..c660140 Binary files /dev/null and b/cs2tracker/data/icon.ico differ