saving
This commit is contained in:
parent
ba73ad5b1c
commit
6279935c7a
|
|
@ -5,11 +5,20 @@
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
origDir = os.path.abspath(os.path.dirname(__file__))
|
||||
shadercrossDir = os.path.join(origDir, 'shadercross')
|
||||
shadercross = os.path.join(shadercrossDir, 'bin/shadercross')
|
||||
from sys import platform
|
||||
|
||||
origDir = os.path.abspath(os.path.dirname(__file__))
|
||||
contentDir = os.path.join(origDir, 'content/')
|
||||
shadercrossDir = os.path.join(origDir, 'shadercross/bin')
|
||||
|
||||
if platform == "linux" or platform == "linux2":
|
||||
shadercrossDir = os.path.join(shadercrossDir, 'linux')
|
||||
elif platform == "darwin":
|
||||
shadercrossDir = os.path.join(shadercrossDir, 'osx')
|
||||
elif platform == "win32":
|
||||
shadercrossDir = os.path.join(shadercrossDir, 'win64')
|
||||
|
||||
shadercross = os.path.join(shadercrossDir, 'shadercross')
|
||||
|
||||
inputFiles = [os.path.abspath(os.path.join(contentDir, x)) for x in os.listdir(contentDir) if x.endswith('.hlsl')]
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -31,7 +31,7 @@ os.makedirs(WORKING_DIR, exist_ok=True)
|
|||
|
||||
BIN_INSTALL_DIR = os.path.join(origDir, 'bin')
|
||||
|
||||
from sys import platform
|
||||
from sys import platform
|
||||
if platform == "linux" or platform == "linux2":
|
||||
BIN_INSTALL_DIR = os.path.join(BIN_INSTALL_DIR, 'linux')
|
||||
elif platform == "darwin":
|
||||
|
|
|
|||
Loading…
Reference in New Issue