File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " opencode.ai" ,
33 "id" : " opencode.ai" ,
4- "version" : " 0.0.6 " ,
4+ "version" : " 0.0.7 " ,
55 "description" : " Install \" opencode\" binary" ,
66 "documentationURL" : " https://github.com/devcontainer-community/devcontainer-features/tree/main/src/opencode.ai" ,
77 "options" : {
Original file line number Diff line number Diff line change @@ -79,7 +79,14 @@ curl_download_unzip() {
7979 rm " $temp_file "
8080}
8181debian_get_arch () {
82- echo " $( dpkg --print-architecture) "
82+ arch=$( uname -m)
83+ if [[ " $arch " == " aarch64" ]]; then
84+ arch=" arm64"
85+ elif [[ " $arch " == " x86_64" ]]; then
86+ arch=" x64"
87+ fi
88+ echo " $arch "
89+ # echo "$(dpkg --print-architecture)" --- IGNORE ---
8390}
8491echo_banner () {
8592 local text=" $1 "
You can’t perform that action at this time.
0 commit comments