fix fstring

main
Alex 6 months ago
parent e03fca6f12
commit 0370a9ed0f

@ -32,7 +32,7 @@ def main():
JAVA_EXECUTABLE = os.path.join(args.java_path, 'java.exe')
# Start the Java application in the background with a unique identifier
process = subprocess.Popen([JAVA_EXECUTABLE, '-Dapp.id=' + UNIQUE_IDENTIFIER, '-Xmx1024M', '-Xms1024M', '-jar', JAVA_APP_PATH, '--nogui', '--bonusChest'],
process = subprocess.Popen([f'{JAVA_EXECUTABLE}', '-Dapp.id=' + UNIQUE_IDENTIFIER, '-Xmx1024M', '-Xms1024M', '-jar', JAVA_APP_PATH, '--nogui', '--bonusChest'],
stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
# Save the PID of the Java application

Loading…
Cancel
Save