@@ -150,7 +150,9 @@ def copy_initial_files_with_popup():
150150
151151else :
152152 MODULE_DIR = os .path .dirname (os .path .abspath (__file__ ))
153- PROJECT_DIR = os .path .dirname (MODULE_DIR )
153+ # The project directory doesn't really exist in this case
154+ # (pip only installs contents of cs2tracker/cs2tracker in site-packages)
155+ PROJECT_DIR = MODULE_DIR
154156 DATA_DIR = os .path .join (MODULE_DIR , "data" )
155157
156158 CONFIG_FILE = os .path .join (DATA_DIR , "config.ini" )
@@ -160,7 +162,7 @@ def copy_initial_files_with_popup():
160162 INVENTORY_IMPORT_SCRIPT = os .path .join (DATA_DIR , "get_inventory.js" )
161163 NODE_MODULES = os .path .join (DATA_DIR , "node_modules" )
162164
163- ICON_FILE = os .path .join (PROJECT_DIR , "assets" , "icon.ico" )
165+ ICON_FILE = os .path .join (DATA_DIR , "icon.ico" )
164166 BATCH_FILE = os .path .join (DATA_DIR , "cs2tracker_scraper.bat" )
165167 INVENTORY_IMPORT_FILE = os .path .join (DATA_DIR , "inventory.json" )
166168 INVENTORY_IMPORT_SCRIPT_DEPENDENCIES = [
@@ -224,4 +226,5 @@ def copy_initial_files_with_popup():
224226 "Copenhagen 2024 Sticker Capsule" : "https://steamcommunity.com/market/search?q=copenhagen+capsule" ,
225227 "Shanghai 2024 Sticker Capsule" : "https://steamcommunity.com/market/search?q=shanghai+capsule" ,
226228 "Austin 2025 Sticker Capsule" : "https://steamcommunity.com/market/search?q=austin+capsule" ,
229+ "Budapest 2025 Sticker Capsule" : "https://steamcommunity.com/market/search?q=budapest+capsule" ,
227230}
0 commit comments