Uploaded a gitignore for critical files and fixed appimage messages being displayed

The gitignore ignores important am2r files that are needed for testing
The appimage prompt with "pls upload this appimage" should be fixed, tested on both ubuntu 16.04 and Arch. For further clarification, look at comments in python script.
pull/17/head
Miepee 5 years ago
parent 7e11a6d9a6
commit cd8d195907

3
.gitignore vendored

@ -0,0 +1,3 @@
am2r_15_2/
ARCHIVE-am2r_15_2/
AM2R_11.zip

@ -135,7 +135,11 @@ if (type == '1'):
print("Creating Appimage...")
copytree("patch_data/AM2R.AppDir", "AM2R.AppDir")
subprocess.call(["cp", "-rpT", output , "AM2R.AppDir/usr/bin"])
retcode = os.system("./AppImageCreation.sh AM2R.AppDir &> /dev/null")
fd = os.open("/dev/null", os.O_WRONLY)
savefd = os.dup(2)
os.dup2(fd,2)
subprocess.call(["sh", "./AppImageCreation.sh", "-n"])
os.dup2(savefd,2)
rename("AM2R-x86_64.AppImage", "AM2R.AppImage")
rmtree("AM2R.AppDir")

Loading…
Cancel
Save