Merge pull request #17 from Miepee/master

Adds a gitignore for critical files and fixes Appimage messages.
Commits have further details
pull/20/head
Miepee 5 years ago committed by GitHub
commit ef3c9e5c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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