We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9923684 commit fefdd93Copy full SHA for fefdd93
scripts/bundleapps.sh
@@ -3,8 +3,9 @@ mkdir -p appstore_backend/bundled_apps
3
ls -1 internal_filesystem/apps | while read appdir; do
4
echo "Bundling $appdir"
5
pushd internal_filesystem/apps/"$appdir"
6
- # TODO: get and append version from manifest instead of hardcoding:
7
- mpkname="../../../appstore_backend/bundled_apps/"$appdir"_0.0.1.mpk"
+ version=$( grep "^Version:" META-INF/MANIFEST.MF | cut -d " " -f 2)
+ mpkname="../../../appstore_backend/bundled_apps/"$appdir"_"$version".mpk"
8
+ echo "Creating $mpkname"
9
zip -r0 "$mpkname" .
10
cp res/mipmap-mdpi/icon_64x64.png "$mpkname"_icon_64x64.png
11
popd
0 commit comments