mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 07:23:37 +08:00
Merge pull request #115 from alibo/patch-1
Use -S flag for /usr/bin/env
This commit is contained in:
commit
773ade2bb8
@ -1,3 +1,6 @@
|
|||||||
|
### Unreleased
|
||||||
|
- Fixed the shebang line in `bombsquad_server` file by using `-S` flag for `/usr/bin/env`.
|
||||||
|
|
||||||
### 1.5.22 (20139)
|
### 1.5.22 (20139)
|
||||||
- Button and key names now display correctly again on Android (and are cleaned up on other platforms too).
|
- Button and key names now display correctly again on Android (and are cleaned up on other platforms too).
|
||||||
|
|
||||||
|
|||||||
@ -14,3 +14,6 @@
|
|||||||
### Benefit-Zebra
|
### Benefit-Zebra
|
||||||
- Unofficial BombSquad Bug Finder
|
- Unofficial BombSquad Bug Finder
|
||||||
- Code Cleanup
|
- Code Cleanup
|
||||||
|
|
||||||
|
### Ali Borhani
|
||||||
|
- Bug fixes
|
||||||
|
|||||||
@ -62,7 +62,7 @@ def stage_server_file() -> None:
|
|||||||
lines = infile.read().splitlines()
|
lines = infile.read().splitlines()
|
||||||
if mode == 'release':
|
if mode == 'release':
|
||||||
lines[0] = replace_one(lines[0], '#!/usr/bin/env python3.7',
|
lines[0] = replace_one(lines[0], '#!/usr/bin/env python3.7',
|
||||||
'#!/usr/bin/env python3.7 -O')
|
'#!/usr/bin/env -S python3.7 -O')
|
||||||
with open(outfilename, 'w') as outfile:
|
with open(outfilename, 'w') as outfile:
|
||||||
outfile.write('\n'.join(lines) + '\n')
|
outfile.write('\n'.join(lines) + '\n')
|
||||||
subprocess.run(['chmod', '+x', outfilename], check=True)
|
subprocess.run(['chmod', '+x', outfilename], check=True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user