Bladeren bron

Fix some wrong binary paths

Daniele Bartolini 12 jaren geleden
bovenliggende
commit
11e8fa21e0
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 1 1
      tools/gui/toolchain/toolchain.py
  2. 3 3
      tools/pycrown/Compiler.py

+ 1 - 1
tools/gui/toolchain/toolchain.py

@@ -77,7 +77,7 @@ class Toolchain:
 		dest_path = root_path + "_" + self.m_current_platform
 
 		comp = subprocess.call(["python", "resource-compiler.py", str(self.m_root_path), self.m_current_platform])
-		crown = subprocess.call(["crown-linux", "--root-path", dest_path, "--dev"])
+		crown = subprocess.call(["../bin/crown-linux", "--root-path", dest_path, "--dev"])
 
 	def on_browser_button_clicked(self, button):
 		browser = subprocess.call(["python", "resource-browser.py", str(self.m_root_path)])

+ 3 - 3
tools/pycrown/Compiler.py

@@ -25,10 +25,10 @@
 import subprocess
 import os
 
-LUAJIT = "luajit"
+LUAJIT = "./luajit"
 OPTION = "-b"
-COMPILER_NAME = "resource-compiler"
-RES_H = "resource-hash"
+COMPILER_NAME = "./resource-compiler"
+RES_H = "./resource-hash"
 
 ROOT_P = "--root-path"
 DEST_P = "--dest-path"