" command at the command line): gksudo gedit /usr/share/applications/sktopĪnd paste in these contents, and then Save of course: Then create a sktop file (using the gedit text editor to keep it user-friendly just enter the whole "gksudo. In a terminal, first fetch a Minecraft image icon: cd /usr/share/icons sudo wget Setting up a Minecraft launcher on Ubuntu 12.04, these steps worked for me, mostly pieced together from the various other tips. get_minecraft_command ( latest_version, minecraft_directory, options ) # Start Minecraft subprocess. get_secure_login_data ( CLIENT_ID, REDIRECT_URL ) print ( f "Please open minecraft_command = minecraft_launcher_lib. install_minecraft_version ( latest_version, minecraft_directory ) # Login login_url, state, code_verifier = minecraft_launcher_lib. get_minecraft_directory () # Make sure, the latest version of Minecraft is installed minecraft_launcher_lib. get_latest_version () # Get Minecraft directory minecraft_directory = minecraft_launcher_lib. CLIENT_ID = "YOUR CLIENT ID" REDIRECT_URL = "YOUR REDIRECT URL" # Get latest version latest_version = minecraft_launcher_lib. For more information look at the documentation. import minecraft_launcher_lib import subprocess import sys # Set the data for your Azure Application here. This library containts functions to install and execute minecraft and interacting with mojang accounts. A Python library for creating a custom minecraft launcher.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |