Skip to content

Commit

Permalink
Build using full nsis_build.py path
Browse files Browse the repository at this point in the history
  • Loading branch information
negrutiu committed Aug 31, 2024
1 parent 1ba0425 commit 93e227e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsis_build_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def copy_sources(srcdir, dstdir, verbose=False):

def build_thread(nsisdir, distrodir, compiler, arch, build_number=0, nsislog=True, nsismaxstrlen=4096, tests=True, new_console=True):
copy_sources(nsisdir, distrodir)
args = [sys.executable, 'nsis_build.py', f'-a={arch}', f'-c={compiler}', f'-b={build_number}', f'-l={nsislog}', f'-s={nsismaxstrlen}', f'-t={tests}']
args = [sys.executable, path.join(nsisdir, distrodir, 'nsis_build.py'), f'-a={arch}', f'-c={compiler}', f'-b={build_number}', f'-l={nsislog}', f'-s={nsismaxstrlen}', f'-t={tests}']
exitcode = Popen(args, cwd=distrodir, creationflags=(subprocess.CREATE_NEW_CONSOLE if new_console else 0)).wait()
print(f"-- {args} returned {exitcode}")
if exitcode != 0:
Expand Down

0 comments on commit 93e227e

Please sign in to comment.