oot/tools/ZAPD/copycheck.py

7 lines
242 B
Python

import os
from shutil import copyfile
if (os.environ.get('ZAPD_COPYDIR') != None):
print("Copying ZAPD.out to OoT repo...")
#print(os.environ.get('ZAPD_COPYDIR'))
copyfile("ZAPD.out", os.environ.get('ZAPD_COPYDIR') + "/ZAPD.out")