Repository navigation
Expand file tree
/
Copy pathbase_setup.bat
More file actions
36 lines (27 loc) · 1.96 KB
/
Copy pathbase_setup.bat
File metadata and controls
36 lines (27 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
:This is only used by windows build scripts for working on the raspberry pie currently
IF DEFINED _PROTON_VARS_SET_ (goto skip)
SET _PROTON_VARS_SET_=true
:This file is likely run by all project's app_info_setup.bat file, it allows you to set some global paths for all proton projects if needed.
Echo Setting defaults and US code page
CHCP 437
SET UNITY_EXE=C:\pro\unity5\Editor\Unity.exe
SET EMSCRIPTEN_ROOT=d:\pro\emsdk
:Need Grysnc linux tools for windows, used for ssh and rsyncing stuff: :http://sourceforge.net/projects/grsync-win/
:Update: Nah, don't use this crap, install OpenSSH and ssh and scp is probably on the path
:SET PATH=C:\tools\Grsync\bin;%PATH%
:If we're doign android builds we'll need to know this.(note, this is outdated, new gradle builds don't use this stuff, so ignore it)
SET ANDROID_SDK=D:\pro\androidsdk
:Ant 1.9x+ is used for packaging Android builds, add to path if needed
SET ANT_HOME=D:\pro\apache-ant-1.9.16
SET PATH=%ANT_HOME%\bin;%PATH%
SET JAVA_HOME=C:\Apps\androidstudio\jbr
: Below is used to find the Raspberry pi and command line utils like ssh, don't really need to set this stuff up but it makes various scripts work that Seth uses
:don't want to copy file windows junk. Change -az to -avz for verbose to see what's copying...
SET RSYNC_OPTIONS=-az --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r --exclude='*.ncb' --exclude='*.lib' --exclude='*.exe' --exclude='*.dll' --exclude='*.pdb' --exclude='*.obj' --exclude='*.o' --exclude='*.ilk' --exclude='*.so' --exclude='*.tlog' --exclude='.svn' --exclude='*.pch' --exclude='*.ipch' --exclude='.git' --exclude='.vs/*' --exclude='windows_vs/x64/*' --exclude='libVLC/*' --exclude='whisper.cpp/*'
:Need to know where your PI is, to ssh to (in my case, it's a local ip)
SET RASPBERRYIP=buzzer
:Name we should use when we ssh on
SET LINUXUSER=pi
:As for password, setup a rsa key pair so you don't need one (kind of tricky.. find a tutorial somewhere)
:skip
SET GITHUBNAME=SethRobinson