mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 09:02:14 +00:00 
			
		
		
		
	Fix: autologin the shell under OSX.
This commit is contained in:
		@@ -127,8 +127,13 @@ Item{
 | 
			
		||||
            appSettings.terminalFontChanged.connect(handleFontChange);
 | 
			
		||||
 | 
			
		||||
            // Retrieve the variable set in main.cpp if arguments are passed.
 | 
			
		||||
            if (shellProgram)
 | 
			
		||||
            if (shellProgram) {
 | 
			
		||||
                ksession.setShellProgram(shellProgram);
 | 
			
		||||
            } else if (!shellProgram && Qt.platform.os === "osx") {
 | 
			
		||||
                // OSX Requires the following default parameters for auto login.
 | 
			
		||||
                ksession.setArgs(["-i", "-l"]);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (workdir)
 | 
			
		||||
                ksession.initialWorkingDirectory = workdir;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
 Submodule qmltermwidget updated: b003cff04f...71f2f3f9f0
									
								
							
		Reference in New Issue
	
	Block a user