v2.36.0
Pull Requests | Issues | v2.35.0...v2.36.0
Features
#3130 #3134 support changing $0 by symlink
Some tools change their behavior by $0
.
For example, granted
changes the behavior based on args[0]
.
// Use a single binary to keep keychain ACLs simple, swapping behavior via argv[0]
var app *cli.App
switch filepath.Base(os.Args[0]) {
case "assumego", "assumego.exe", "dassumego", "dassumego.exe":
app = assume.GetCliApp()
default:
app = granted.GetCliApp()
}
This release supports changing $0 by symlink.
files:
- name: granted
- name: assumego
src: granted
link: assumego # link is the relative path from src to the symlink
Bug Fixes
#3136 #3137 remove: Handle panic error when package is not found @Shion1305
#3138 remove: Ignore not found commands