diff --git a/addon.json b/addon.json index 0086e492..e97fcc72 100644 --- a/addon.json +++ b/addon.json @@ -9,6 +9,8 @@ "*.txt", "*.md", "*.bat", + "*.sh", + "icon.jpg", "*.7z", "*.md", "*.yml", diff --git a/icon.jpg b/icon.jpg new file mode 100644 index 00000000..a1bfcee8 Binary files /dev/null and b/icon.jpg differ diff --git a/workshop.sh b/workshop.sh new file mode 100644 index 00000000..6712abc8 --- /dev/null +++ b/workshop.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +WORKSHOP_ID=104691717 +dir="$(cd -P -- "$(dirname -- "$0")" && pwd -P)" +gma_location=$(readlink -f "$dir")/..∕__TEMP.gma + +cd ../../../bin + +./gmad_linux create -folder "$dir/" -out "$gma_location" +./gmpublish_linux update -addon "$gma_location" -id "$WORKSHOP_ID" -icon "$dir/icon.jpg" + +rm $gma_location