ScoopInstaller_Main/bucket/cmder-full.json
FriendlyNeighborhoodShane 751f092300
cmder: shortcut to start in home dir (%USERPROFILE%) (#2185)
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.
2021-05-20 17:50:13 +02:00

41 lines
1.2 KiB
JSON

{
"version": "1.3.18",
"description": "Portable console emulator for Windows. (Full version)",
"homepage": "https://cmder.net",
"license": "MIT",
"url": "https://github.com/cmderdev/cmder/releases/download/v1.3.18/cmder.7z",
"hash": "392a5a5c36ccb3fd212a2a703ada209c9458ef4cf6eab10a93a3f20ba351fdab",
"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.7z",
"hash": {
"url": "$baseurl/hashes.txt",
"regex": "$basename\\s+$sha256"
}
}
}