Compare commits
3 commits
fix/tts-br
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d9a43c8f6 | |||
| cb54a7977a | |||
| 64e4a1fb5b |
1 changed files with 2 additions and 1 deletions
3
app.py
3
app.py
|
|
@ -1914,7 +1914,8 @@ for filename, value in files.items():
|
|||
if path.is_dir():
|
||||
path.rmdir()
|
||||
path.write_text(value)
|
||||
os.chmod(path, 0o600)
|
||||
os.chown(path, 10001, 10001)
|
||||
os.chmod(path, 0o400)
|
||||
""".format(files_json=json.dumps(files))
|
||||
encoded = base64.b64encode(installer.encode()).decode()
|
||||
command = f"sudo python3 -c {__import__('shlex').quote(f'import base64;exec(base64.b64decode({encoded!r}))')}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue