Skip to content

Commit

Permalink
adjust cache path to new path as of genshin version 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ennea committed Jul 6, 2023
1 parent 63cf3ec commit 3a6f8e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/script.js
Original file line number Diff line number Diff line change
@@ -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: {},
Expand Down
2 changes: 1 addition & 1 deletion wishing-well.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion wishing-well.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wishing_well/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 3a6f8e4

Please sign in to comment.