mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	When launched from the start menu shortcut, cmder starts in %SCOOP%\apps\cmder\current, which is not ideal behaviour for a terminal program. This patch makes the shortcut always start in the home directory with the argument '/start'. When started from the shim or directly, cmder starts in your current directory anyway, which is expected behaviour.
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.3.18",
 | 
						|
    "description": "Portable console emulator for Windows. (Mini version)",
 | 
						|
    "homepage": "https://cmder.net",
 | 
						|
    "license": "MIT",
 | 
						|
    "url": "https://github.com/cmderdev/cmder/releases/download/v1.3.18/cmder_mini.zip",
 | 
						|
    "hash": "2196bc1880a711c72f2b86df07f7533b72b085fb167d8566d941f0b9a41b5510",
 | 
						|
    "pre_install": [
 | 
						|
        "if (!(Test-Path \"$persist_dir\\vendor\\conemu-maximus5\\ConEmu.xml\")) {",
 | 
						|
        "    Copy-Item \"$dir\\vendor\\ConEmu.xml.default\" \"$dir\\vendor\\conemu-maximus5\\ConEmu.xml\"",
 | 
						|
        "}"
 | 
						|
    ],
 | 
						|
    "bin": "Cmder.exe",
 | 
						|
    "shortcuts": [
 | 
						|
        [
 | 
						|
            "Cmder.exe",
 | 
						|
            "Cmder",
 | 
						|
            "/start %USERPROFILE%"
 | 
						|
        ]
 | 
						|
    ],
 | 
						|
    "persist": [
 | 
						|
        "bin",
 | 
						|
        "config",
 | 
						|
        "vendor\\conemu-maximus5\\ConEmu.xml"
 | 
						|
    ],
 | 
						|
    "env_set": {
 | 
						|
        "CMDER_ROOT": "$dir",
 | 
						|
        "ConEmuDir": "$dir\\vendor\\conemu-maximus5"
 | 
						|
    },
 | 
						|
    "checkver": {
 | 
						|
        "github": "https://github.com/cmderdev/cmder"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "url": "https://github.com/cmderdev/cmder/releases/download/v$version/cmder_mini.zip",
 | 
						|
        "hash": {
 | 
						|
            "url": "$baseurl/hashes.txt",
 | 
						|
            "regex": "$basename\\s+$sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |