Make sure the compiled EXE has execute permissions.

master v1.0
Pacman Ghost 2 years ago
parent 942527206c
commit ed4c09eaf8
  1. 1
      .gitignore
  2. 4
      make_release.py

1
.gitignore vendored

@ -1,6 +1,7 @@
log4net.xml
out/
_work_/
_releases_/
.vscode/
*.swp

@ -2,6 +2,7 @@
import sys
import os
import stat
import subprocess
import zipfile
import getopt
@ -41,6 +42,9 @@ with zipfile.ZipFile( output_fname, "w" ) as zip_file:
# add the binaries
os.chdir( "out" )
for fname in os.listdir( "." ):
if os.path.splitext( fname )[1] == ".exe":
flags = os.stat( fname ).st_mode
os.chmod( fname, flags | stat.S_IEXEC )
zip_file.write( fname )
os.chdir( ".." )
# add the license

Loading…
Cancel
Save