diff --git a/files_download.txt b/files_download.txt index 4dbec6f..aa04ec7 100644 --- a/files_download.txt +++ b/files_download.txt @@ -1 +1 @@ -http://xplayer-ota.pureroad.cn/files_20260215_120844.tar.xz +http://xplayer-ota.pureroad.cn/files_20260216_082213.tar.xz diff --git a/test-direnv.sh b/test-direnv.sh new file mode 100755 index 0000000..7bc43c2 --- /dev/null +++ b/test-direnv.sh @@ -0,0 +1,31 @@ +#!/bin/zsh + +echo "=== Testing direnv setup ===" +echo "" + +echo "1. Shell: $SHELL" +echo "2. Current directory: $(pwd)" +echo "" + +echo "3. Checking if direnv hook is loaded:" +type _direnv_hook 2>/dev/null && echo " ✓ direnv hook found" || echo " ✗ direnv hook NOT found" +echo "" + +echo "4. Checking .envrc status:" +direnv status | grep -E "(Found RC|allowed)" +echo "" + +echo "5. Current QINIU_BUCKET value:" +echo " QINIU_BUCKET=${QINIU_BUCKET:-[not set]}" +echo "" + +echo "6. Manually trigger direnv:" +eval "$(direnv export zsh 2>&1)" +echo " QINIU_BUCKET=${QINIU_BUCKET:-[not set]}" +echo "" + +echo "=== Instructions ===" +echo "If you don't see direnv loading automatically:" +echo "1. Exit and re-enter the directory: cd .. && cd -" +echo "2. Or reload shell: exec zsh" +echo "3. You should see: direnv: loading ~/Projects/xplayer-ota/.envrc"