INNER CODE UNIT · Python

start_setup

KnifeXRage/Godot-Secure · Godot Secure Scripts/universal/Godot Secure AES-256 Universal v6.py:274

def start_setup():
    # Start Script Startup Operations
    global godot_root, encKey, key_derivation_algorithm, baseTag, encTag, token_hex
    
    if len(sys.argv) == 1:
        # No argument provided, use current directory
        godot_root = os.getcwd()
        print("\nNo directory specified. Using current directory as Godot Source Root.")
    elif len(sys.argv) == 2:
        # One argument provided, use it as Godot root
        godot_root = sys.argv[1]
    else:
        # Too many arguments provided
        print("\nUsage: python Godot_Secure.py <godot_source_root>")
        try:
            exit = input("\nPress Enter key to exit...")
        except EOFError:
            pass

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…