-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackageWin.bat
24 lines (19 loc) · 913 Bytes
/
packageWin.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
if not exist ..\..\config.bat (
echo "FRESteamWorks/config.bat is not set up!"
goto :eof
)
call ..\..\config.bat
set ANE_PATH=..\..\lib\bin
copy "%STEAM_SDK%\redistributable_bin\steam_api.dll" .
copy "%STEAM_SDK%\redistributable_bin\osx32\libsteam_api.dylib" .
REM Generate cert on the fly
call "%AIR_SDK%\bin\adt.bat" -certificate -cn MyCertificateName 2048-RSA ^
CertificateTest.p12 test
call "%AIR_SDK%\bin\adt.bat" -package -XnoAneValidate -tsa none ^
-storetype pkcs12 -keystore CertificateTest.p12 ^
-storepass test -target bundle FRESteamWorksTest ^
FRESteamWorksTest-app.xml FRESteamWorksTest.swf ^
steam_api.dll libsteam_api.dylib steam_appid.txt ^
-extdir "%ANE_PATH%"
del steam_api.dll libsteam_api.dylib