mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
add workshop bash script for linux
This commit is contained in:
parent
76b298ffd9
commit
4fbef5cbb9
@ -9,6 +9,8 @@
|
|||||||
"*.txt",
|
"*.txt",
|
||||||
"*.md",
|
"*.md",
|
||||||
"*.bat",
|
"*.bat",
|
||||||
|
"*.sh",
|
||||||
|
"icon.jpg",
|
||||||
"*.7z",
|
"*.7z",
|
||||||
"*.md",
|
"*.md",
|
||||||
"*.yml",
|
"*.yml",
|
||||||
|
12
workshop.sh
Normal file
12
workshop.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user