mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
port: build: move to CMake
god forgive me
This commit is contained in:
1 parent
91c43385dd
commit
0bdf79cc51
11 files changed
+693
-1175
No files matched your search
@@ -6,7 +6,12 @@ import os
|
||||
import sys
|
||||
|
||||
def main():
|
||||
fd = open('src/assets/%s/animations.json' % os.environ['ROMID'], 'r')
|
||||
if (len(sys.argv) < 2) or (sys.argv[1].startswith('--')):
|
||||
filename = 'src/assets/%s/sequences.json' % os.environ['ROMID']
|
||||
else:
|
||||
filename = sys.argv[1]
|
||||
|
||||
fd = open(filename, 'r')
|
||||
data = fd.read()
|
||||
fd.close()
|
||||
|
||||
|
||||
Reference in new issue
Block a user