avr-gcc: Manually shim avr-gcc-$version.exe (#3624)

* avr-gcc: Manually shim avr-gcc-$version.exe

* fix path

* use 'scoop shim' instead

* Apply suggestions

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
This commit is contained in:
Issac Lin 2022-05-28 23:53:31 +08:00 committed by GitHub
parent bb9aef4c47
commit 8f0127ff8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,6 @@
"bin\\avr-cpp.exe",
"bin\\avr-elfedit.exe",
"bin\\avr-g++.exe",
"bin\\avr-gcc-11.1.0.exe",
"bin\\avr-gcc-ar.exe",
"bin\\avr-gcc-nm.exe",
"bin\\avr-gcc-ranlib.exe",
@ -47,6 +46,13 @@
"bin\\avr-strings.exe",
"bin\\avr-strip.exe"
],
"post_install": [
"# manually shim bin\\avr-gcc-$version.exe",
"scoop shim add \"avr-gcc-$version\" \"$dir\\bin\\avr-gcc-$version.exe\""
],
"uninstaller": {
"script": "scoop shim rm \"avr-gcc-$version\""
},
"checkver": {
"github": "https://github.com/ZakKemble/avr-gcc-build"
},