From 3a6f8e42295f1c350742740acc7aa027ba17c045 Mon Sep 17 00:00:00 2001 From: Ennea Date: Thu, 6 Jul 2023 22:14:14 +0200 Subject: [PATCH] adjust cache path to new path as of genshin version 3.8 --- frontend/script.js | 2 +- wishing-well.nsi | 2 +- wishing-well.py | 2 +- wishing_well/util.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/script.js b/frontend/script.js index 6785ba0..0844fd3 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -1,6 +1,6 @@ document.addEventListener('alpine:init', () => { Alpine.data('app', () => ({ - VERSION: '1.3.4', + VERSION: '1.4.0', // raw data from the backend bannerTypes: {}, diff --git a/wishing-well.nsi b/wishing-well.nsi index 9bc82ad..d27c25c 100644 --- a/wishing-well.nsi +++ b/wishing-well.nsi @@ -2,7 +2,7 @@ !define MUI_ICON "icon.ico" Name "Wishing Well" -OutFile "wishing-well-1.3.4.exe" +OutFile "wishing-well-1.4.0.exe" Unicode True RequestExecutionLevel admin InstallDir "$PROGRAMFILES\Wishing Well" diff --git a/wishing-well.py b/wishing-well.py index c36a2cc..f72caf9 100644 --- a/wishing-well.py +++ b/wishing-well.py @@ -9,7 +9,7 @@ # nuitka-project: --windows-company-name=- # nuitka-project: --windows-product-name=Wishing Well # nuitka-project: --windows-file-description=Wishing Well -# nuitka-project: --windows-product-version=1.3.4 +# nuitka-project: --windows-product-version=1.4.0 import logging import bottle diff --git a/wishing_well/util.py b/wishing_well/util.py index ff423e0..fd27a8d 100644 --- a/wishing_well/util.py +++ b/wishing_well/util.py @@ -75,7 +75,7 @@ def get_cache_path(): # python cannot do this without raising an error, and neither can the default # windows copy command, so we instead delegate this task to powershell's Copy-Item try: - path = Path(game_path) / 'GenshinImpact_Data/webCaches/Cache/Cache_Data/data_2' + path = Path(game_path) / 'GenshinImpact_Data/webCaches/2.13.0.1/Cache/Cache_Data/data_2' logging.debug('cache path is: ' + str(path)) if not path.exists(): logging.debug('cache file does not exist')