mirror of
https://github.com/CapsAdmin/wowozela.git
synced 2025-03-03 19:03:15 -05:00
fix workshop.sh on linux
This commit is contained in:
parent
8b2096d7be
commit
5fe79e756a
18
workshop.sh
Executable file
18
workshop.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
WORKSHOP_ID=108170491
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
gmad='../../../bin/gmad'
|
||||
gmpublish='../../../gmpublish'
|
||||
else
|
||||
gmad='../../../bin/linux64/gmad'
|
||||
gmpublish='../../../bin/linux64/gmpublish'
|
||||
fi
|
||||
|
||||
export LD_LIBRARY_PATH="../../../bin/linux64/"
|
||||
|
||||
$gmad create -folder "./" -out "_TEMP.gma"
|
||||
$gmpublish update -addon "_TEMP.gma" -id "$WORKSHOP_ID" -icon "icon.jpg"
|
||||
|
||||
rm ./_TEMP.gma
|
Loading…
Reference in New Issue
Block a user