Skip to content
Snippets Groups Projects
Commit 234670c3 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

up mobile

parent b00952a2
No related branches found
No related tags found
No related merge requests found
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.geuz.onelab"
android:versionName="2.0.0"
android:versionCode="36"
android:versionCode="37"
android:installLocation="auto" >
<uses-sdk android:minSdkVersion="14"
......
......@@ -39,7 +39,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.0.0.0</string>
<string>2.0.0.3</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIFileSharingEnabled</key>
......
......@@ -5,24 +5,26 @@ if [ $# -lt 1 ]; then
exit 1;
fi
name=demos_boolean
files=$*
rm -rf Archive
mkdir Archive
rm -rf ${name}
mkdir ${name}
cp *.step Archive/
cat <<EOT >> Archive/infos.xml
cp *.step ${name}/
cat <<EOT >> ${name}/infos.xml
<?xml version="1.0" encoding="utf-8"?>
<models>
EOT
for file in $files ; do
cp $file Archive/
echo "<model>" >> Archive/infos.xml
echo "<title>$file</title>" >> Archive/infos.xml
echo "<summary>$file</summary>" >> Archive/infos.xml
echo "<file type=\"geo\">$file</file>" >> Archive/infos.xml
echo "</model>" >> Archive/infos.xml
cat <<EOT > Archive/${file%.geo}.pro
cp $file ${name}/
echo "<model>" >> ${name}/infos.xml
echo "<title>$file</title>" >> ${name}/infos.xml
echo "<summary>$file</summary>" >> ${name}/infos.xml
echo "<file type=\"geo\">$file</file>" >> ${name}/infos.xml
echo "</model>" >> ${name}/infos.xml
cat <<EOT > ${name}/${file%.geo}.pro
DefineConstant[
R_ = {"", Name "GetDP/1ResolutionChoices", Visible 0},
C_ = {"", Name "GetDP/9ComputeCommand", Visible 0},
......@@ -31,8 +33,8 @@ DefineConstant[
EOT
done
cat <<EOT >> Archive/infos.xml
cat <<EOT >> ${name}/infos.xml
</models>
EOT
zip -r Archive.zip Archive
zip -r ${name}.zip ${name}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment