Skip to content

Commit 36d9343

Browse files
authored
Update origin path for CheatPaths initialization
1 parent 7961a3d commit 36d9343

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

deploy/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ class Paths:
3939
def __init__(self):
4040
self.temp_root_path = 'tmp'
4141

42-
self.origin = CheatPaths('../cheat-engine/www')
42+
repo_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
43+
cheat_engine_path = os.path.join(repo_root, 'cheat-engine', 'www')
44+
self.origin = CheatPaths(cheat_engine_path)
4345
self.temp = CheatPaths(os.path.join(self.temp_root_path, 'www'))
4446

4547
self.deploy_output_dir = 'output'

0 commit comments

Comments
 (0)