mirror of
https://github.com/Skeli789/Dynamic-Pokemon-Expansion.git
synced 2026-09-08 18:15:49 -05:00
Fix Tutor Compatability Issue
This commit is contained in:
@@ -9,7 +9,7 @@ import subprocess
|
||||
import sys
|
||||
from datetime import datetime
|
||||
from string import StringFileConverter
|
||||
from tm_tutor import TMDataBuilder
|
||||
from tm_tutor import TMDataBuilder, TutorDataBuilder
|
||||
|
||||
if sys.platform.startswith('win'):
|
||||
PathVar = os.environ.get('Path')
|
||||
@@ -397,6 +397,7 @@ def main():
|
||||
|
||||
ProcessSpriteGraphics()
|
||||
TMDataBuilder()
|
||||
TutorDataBuilder()
|
||||
|
||||
# Gather source files and process them
|
||||
objects = itertools.starmap(RunGlob, globs.items())
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
############
|
||||
#Options go here.
|
||||
@@ -74,9 +75,12 @@ def EditInsert(offset: int):
|
||||
|
||||
def BuildCode():
|
||||
if shutil.which('python3') is not None:
|
||||
os.system("python3 scripts/build.py")
|
||||
result = os.system("python3 scripts/build.py")
|
||||
else:
|
||||
os.system("python scripts/build.py")
|
||||
result = os.system("python scripts/build.py")
|
||||
|
||||
if result != 0: # Build wasn't sucessful
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def InsertCode():
|
||||
|
||||
Reference in New Issue
Block a user