1 parent 7961a3d commit 36d9343Copy full SHA for 36d9343
1 file changed
deploy/main.py
@@ -39,7 +39,9 @@ class Paths:
39
def __init__(self):
40
self.temp_root_path = 'tmp'
41
42
- self.origin = CheatPaths('../cheat-engine/www')
+ 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)
45
self.temp = CheatPaths(os.path.join(self.temp_root_path, 'www'))
46
47
self.deploy_output_dir = 'output'
0 commit comments