mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-04 21:08:04 +03:00
Add "chmod +x" on Linux deploy
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -563,6 +563,25 @@ def main():
|
||||
else:
|
||||
logger.info(f'generate AppImage success: {LINUX_APPIMAGE_FILENAME}')
|
||||
|
||||
printStandardStream(result.stdout, result.stderr)
|
||||
|
||||
try:
|
||||
result = runExternalCommand(
|
||||
f'chmod +x {LINUX_APPIMAGE_FILENAME}',
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
except subprocess.CalledProcessError as err:
|
||||
logger.error(f'chmod +x failed with returncode {err.returncode}')
|
||||
|
||||
printStandardStream(err.stdout, err.stderr)
|
||||
|
||||
sys.exit(EXIT_FAILURE)
|
||||
else:
|
||||
logger.info(f'chmod +x success: {LINUX_APPIMAGE_FILENAME}')
|
||||
|
||||
printStandardStream(result.stdout, result.stderr)
|
||||
else:
|
||||
# Deploy: Not implemented
|
||||
|
||||
Reference in New Issue
Block a user