Skip to content

Commit 38df29b

Browse files
committed
add windows arm64
Signed-off-by: Grant Linville <[email protected]>
1 parent f9dd67c commit 38df29b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

scripts/copy-cred-helper.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ case "$OS" in
1919
"windows")
2020
case "$ARCH" in
2121
"amd64")
22-
cp binaries/gptscript-credential-wincred.exe releases/default_windows_amd64_v1
22+
cp binaries/gptscript-credential-wincred-amd64.exe releases/default_windows_amd64_v1/gptscript-credential-wincred.exe
23+
;;
24+
"arm64")
25+
cp binaries/gptscript-credential-wincred-arm64.exe releases/default_windows_arm64/gptscript-credential-wincred.exe
2326
;;
2427
esac
2528
;;

scripts/download-cred-helpers.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ cd "$BINARY_DIR"
1313
wget -O gptscript-credential-osxkeychain "https://github.com/gptscript-ai/gptscript-credential-helpers/releases/download/${GPTSCRIPT_CRED_HELPERS_VERSION}/gptscript-credential-osxkeychain"
1414
chmod +x gptscript-credential-osxkeychain
1515

16-
wget -O gptscript-credential-wincred.exe "https://github.com/gptscript-ai/gptscript-credential-helpers/releases/download/${GPTSCRIPT_CRED_HELPERS_VERSION}/gptscript-credential-wincred-${GPTSCRIPT_CRED_HELPERS_VERSION}.windows-amd64.exe"
17-
chmod +x gptscript-credential-wincred.exe
16+
wget -O gptscript-credential-wincred-amd64.exe "https://github.com/gptscript-ai/gptscript-credential-helpers/releases/download/${GPTSCRIPT_CRED_HELPERS_VERSION}/gptscript-credential-wincred-${GPTSCRIPT_CRED_HELPERS_VERSION}.windows-amd64.exe"
17+
chmod +x gptscript-credential-wincred-amd64.exe
18+
19+
wget -O gptscript-credential-wincred-arm64.exe "https://github.com/gptscript-ai/gptscript-credential-helpers/releases/download/${GPTSCRIPT_CRED_HELPERS_VERSION}/gptscript-credential-wincred-${GPTSCRIPT_CRED_HELPERS_VERSION}.windows-arm64.exe"
20+
chmod +x gptscript-credential-wincred-arm64.exe

0 commit comments

Comments
 (0)