Przeglądaj źródła

new scripts to make panda-standalone.zip

David Rose 23 lat temu
rodzic
commit
d72425f45d

+ 17 - 0
direct/src/directscripts/make-panda-standalone.sh

@@ -0,0 +1,17 @@
+#! /bin/sh
+
+if [ -e panda-standalone.zip ]; then
+  echo panda-standalone.zip already exists!
+  exit 1
+fi
+
+for dir in $DTOOL $PANDA $DIRECT $PANDATOOL; do
+  zip -j panda-standalone.zip $dir/lib/*.dll $dir/bin/*.exe || exit
+done
+zip -j panda-standalone.zip $WINTOOLS/lib/*.dll $WINTOOLS/sdk/python/Python-2.2.2/PCbuild/*.dll || exit
+
+cp $DIRECT/src/directscripts/standalone-Configrc /tmp/Configrc || exit
+zip -j -m panda-standalone.zip /tmp/Configrc || exit
+
+echo Success!
+

+ 8 - 0
direct/src/directscripts/standalone-Configrc

@@ -0,0 +1,8 @@
+# This Configrc file is provided by default in the
+# panda-standalone.zip file generated by make-panda-standalone.sh.
+
+load-display pandadx8
+
+aux-display pandagl
+aux-display pandadx8
+aux-display pandadx7