Commit 234670c3 by Christophe Geuzaine

up mobile

parent b00952a2
Pipeline #274 passed with stage
in 8 minutes 55 seconds
<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}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment