Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
orangekame3 committed Oct 7, 2023
1 parent bb37a14 commit 7721798
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions win-installer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

BASE_URL="https://raw.githubusercontent.com/orangekame3/winget-pkgs/main/manifests/g/orangekame3/cobra-template"
FILES=("orangekame3.cobra-template.yaml" "orangekame3.cobra-template.installer.yaml" "orangekame3.cobra-template.locale.en-US.yaml")

mkdir -p ./tmp

for file in "${FILES[@]}"; do
curl -L "$BASE_URL/$file" -o "./tmp/$file"
done

winget install -m ./tmp/orangekame3.cobra-template.yaml


for file in "${FILES[@]}"; do
rm "./tmp/$file"
done

0 comments on commit 7721798

Please sign in to comment.