mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Blackberry: Improve packaging.
This commit is contained in:
parent
bd1d4e2d92
commit
dd6479c872
@ -78,7 +78,7 @@ void ProductView::CreateViews() {
|
||||
|
||||
float size = entry_.size / (1024.f * 1024.f);
|
||||
char temp[256];
|
||||
sprintf(temp, "%s: %f %s", s->T("Size"), size, s->T("MB"));
|
||||
sprintf(temp, "%s: %.2f %s", s->T("Size"), size, s->T("MB"));
|
||||
|
||||
Add(new TextView(temp));
|
||||
}
|
||||
|
10
b.sh
10
b.sh
@ -25,7 +25,10 @@ do
|
||||
BB_PACKAGE=0
|
||||
;;
|
||||
--release-package) echo "Blackberry release package enabled"
|
||||
DEBUG_ARGS=""
|
||||
if [ ! -f "Blackberry/build.txt" ]; then
|
||||
echo "1" > "Blackberry/build.txt"
|
||||
fi
|
||||
DEBUG_ARGS="-buildId ../Blackberry/build.txt"
|
||||
;;
|
||||
--simulator) echo "Simulator mode enabled"
|
||||
CMAKE_ARGS="-DSIMULATOR=ON ${CMAKE_ARGS}"
|
||||
@ -56,7 +59,8 @@ mkdir -p build${BUILD_EXT}
|
||||
pushd build${BUILD_EXT}
|
||||
cmake $HEADLESS $CMAKE_ARGS .. | (grep -v "^-- " || true)
|
||||
make -j4 $MAKE_OPT
|
||||
if [ $BB_PACKAGE -eq 1 ]; then
|
||||
blackberry-nativepackager -package PPSSPP.bar ../Blackberry/bar-descriptor.xml $DEBUG_ARGS
|
||||
if [ "$BB_PACKAGE" == "1" ]; then
|
||||
cp ../Blackberry/bar-descriptor.xml .
|
||||
blackberry-nativepackager -package PPSSPP.bar bar-descriptor.xml $DEBUG_ARGS
|
||||
fi
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user