Update install.python3

This commit is contained in:
amidevous
2023-10-19 06:23:25 +02:00
committed by GitHub
parent a5cd8f3961
commit f28c1cd68d
+2 -1
View File
@@ -1,4 +1,4 @@
i#!/usr/bin/python3 #!/usr/bin/python3
import subprocess, os, random, string, sys, shutil, socket, time, io import subprocess, os, random, string, sys, shutil, socket, time, io
if sys.version_info.major != 3: if sys.version_info.major != 3:
@@ -249,6 +249,7 @@ if __name__ == "__main__":
rFile = io.open(rPath + "/credentials.txt", "w", encoding="utf-8") rFile = io.open(rPath + "/credentials.txt", "w", encoding="utf-8")
rFile.write("MySQL Username: %s\nMySQL Password: %s" % (rUsername, rPassword)) rFile.write("MySQL Username: %s\nMySQL Password: %s" % (rUsername, rPassword))
rFile.write("\nContinue Setup: http://%s/%s" % (rUsername, rPassword))
rFile.close() rFile.close()
printc("Installation completed!", col.OKGREEN, 2) printc("Installation completed!", col.OKGREEN, 2)