-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Geode Issue
- I confirm that this bug is NOT related to a mod but directly to Geode Loader itself.
Platform
Linux
SDK commit
No response
Geode Version
v4.10.1
Mods Installed
No response
Expected Behavior
I expected the install script to work as intended.
Actual Behavior
The installer script fails to parse the tag properly, leaving it blank. I have highlighted it below by running the script with the -x option.
curl -o- 'https://geode-sdk.org/install/linux.sh' | bash -x
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0++ mktemp -d
+ TEMP_DIR=/tmp/tmp.DSlbTetMNK
+ RED='\033[0;31m'
+ BLUE='\033[0;34m'
+ YELLOW='\033[1;33m'
+ NC='\033[0m'
+ getopts v OPTS
100 6944 0 6944 0 0 18928 0 0
+ check_dependencies
++ command -v unzip
+ '[' -x /usr/bin/unzip ']'
++ command -v curl
+ '[' -x /usr/bin/curl ']'
++ command -v jq
+ '[' -x /usr/bin/jq ']'
+ verbose_log '\033[1;33mRunning in verbose mode.\033[0m'
+ '[' '!' -z '\033[1;33mRunning in verbose mode.\033[0m' ']'
+ '[' '!' -z '' ']'
+ verbose_log 'Using /tmp/tmp.DSlbTetMNK as temporary directory for installation.'
+ '[' '!' -z 'Using /tmp/tmp.DSlbTetMNK as temporary directory for installation.' ']'
+ '[' '!' -z '' ']'
+ cat
...@@@@@@@@@@@@...
..@@@@@@@@..@@@@@@@@..
..@@@@@@...@@@@@@@@@@@..
..@@@@@@...@@.@@@@@@@@@@@@..
.@@@@...@@@......@@@@@@@@@@.
..@@@..@@@..@@@@@@..@@@..@@@..
..@@@..@@.@@@@@@@@@..@@..@@@..
..@@@@..@@@@@@@@@@@.@@..@@@@..
..@@@@..@@@@@@@@@@..@@.@@@@@..
.@@@@@..@@........@@..@@@@@.
..@@@@@.@@@@@@@@@@@..@@@@@..
..@@@..............@@@..
..@@@@@@@@@@@@@@@@@@..
...@@@@@@@@@@@@...
+ echo 'Installing Geode...'
Installing Geode...
++ curl -s https://api.geode-sdk.org/v1/loader/versions/latest
+ VERSION_JSON='{"error":"Latest version not found","payload":""}'
++ command -v jq
+ '[' -x /usr/bin/jq ']'
++ echo '{"error":"Latest version not found","payload":""}'
++ jq -r .payload.tag
jq: error (at <stdin>:1): Cannot index string with string "tag"
+ TAG=
+ '[' -z '' ']'
+ echo 'Failed to get latest version from the Geode index.'
Failed to get latest version from the Geode index.
+ exit 1Steps to Reproduce
Run curl -o- 'https://geode-sdk.org/install/linux.sh' | bash in a terminal.
Additional Information
Upon a little bit more digging, it looks like the API isn't giving the latest version correctly? It appears that in the API, the latest version doesn't actually exist, which results in TAG being empty.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working