13 lines
322 B
Python
Raw Normal View History

2020-03-10 10:10:24 +03:00
import os
import shutil
2020-03-10 10:34:56 +03:00
import subprocess
2020-03-10 10:10:24 +03:00
dir_path = os.path.dirname(os.path.realpath(__file__))
2020-03-21 15:35:08 +03:00
dest = dir_path + "/../packages/cqtdeployer.1_4/data/1.4/"
2020-03-10 10:10:24 +03:00
if not os.path.isdir(dest):
os.makedirs(dest)
2020-03-10 10:34:56 +03:00
2020-03-10 10:10:24 +03:00
shutil.copyfile(dir_path + "/alias/cqt.sh", dest + "/cqt.sh")
2020-03-10 10:34:56 +03:00
subprocess.run(["chmod", "777", dest + "/cqt.sh"])