mirror of
				https://github.com/Neocky/pluGET.git
				synced 2024-04-29 16:12:30 +00:00 
			
		
		
		
	Only rename console title on Windows
Prevent "sh: line 1: title: command not found" error on Linux
This commit is contained in:
		@@ -21,6 +21,7 @@ def rename_console_title() -> None:
 | 
			
		||||
    """
 | 
			
		||||
    Renames the console title on first startup
 | 
			
		||||
    """
 | 
			
		||||
    if os.name == "nt":
 | 
			
		||||
        os.system("title " + "pluGET │ By Neocky")
 | 
			
		||||
    return None
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user