From a4cd0e0f9a61e1002319189506d78f640ff47ac6 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 26 Jul 2024 12:31:08 +0900 Subject: [PATCH] fix --- build.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.zsh b/build.zsh index 41b1b77..064ca12 100755 --- a/build.zsh +++ b/build.zsh @@ -20,5 +20,6 @@ case $OSTYPE in esac cp -rf $d/tmp/ogent ent/ -#PASS=`cat token.json|jq -r .password` TOKEN=`cat token.json|jq -r .token` go build -#PASS=`cat token.json|jq -r .password` TOKEN=`cat token.json|jq -r .token` go run -mod=mod main.go +f=~/.config/ai/api_card.json +#PASS=`cat $f|jq -r .password` TOKEN=`cat $f|jq -r .token` go build +#PASS=`cat $f|jq -r .password` TOKEN=`cat $f|jq -r .token` go run -mod=mod main.go