Skip to content

Commit

Permalink
Android Version 2.24
Browse files Browse the repository at this point in the history
  • Loading branch information
lufebe16 committed Mar 12, 2024
1 parent 2dfca42 commit 77fd05e
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 6 deletions.
19 changes: 19 additions & 0 deletions buildozer/aversion
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

appdir=""
if [ "$1" ]
then
appdir=$1
else
exit 1
fi

# current android version mumber.
version="2.24.0"
sversion=$(echo $version | sed -E "s:(.*)\..*:\1:")
tuple=$(echo $version | sed -E "s:(.*)\.(.*)\.(.*):(\1, \2, \3):")

# patch different version info accordingly.
sed -E "s:VERSION_TUPLE =.*:VERSION_TUPLE = $tuple:" -i $appdir/pysollib/settings.py
sed -E "s:(.*\(')dev(',.*):\1fc-$sversion\2:" -i $appdir/pysollib/gamedb.py
echo "VERSION = $version"
2 changes: 1 addition & 1 deletion buildozer/buildozer.init
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ cp -a cardsets/* ${tmpdir}/data

echo '### eval version'

./version ${tmpdir} > ${tmpdir}/version.txt
./aversion ${tmpdir} > ${tmpdir}/version.txt

echo '### end init'
4 changes: 2 additions & 2 deletions buildozer/fdroid.init
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ echo '### resize 4k images'

echo '### eval version'

./version ${tmpdir} > ${tmpdir}/version.txt
./aversion ${tmpdir} > ${tmpdir}/version.txt

echo '### prepare buildozer'

sed -r "s:#? ?source\.dir =.*:source.dir = ..:" -i buildozer.spec
sed -r "s:#? ?source\.exclude_dirs =.*:source.exclude_dirs = Screenshots,android,buildozer,tests:" -i buildozer.spec
sed -r "s:#? ?source\.exclude_dirs =.*:source.exclude_dirs = Screenshots,android,buildozer,tests,fastlane:" -i buildozer.spec
sed -r "s:#? ?source\.exclude_patterns =.*:source.exclude_patterns = README.*,AUTHORS.md,CONTRIBUTING.md,COPYING,MANIFEST.in,Makefile,NEWS.asciidoc,appdata.xml,pysol.py,run-tests.pl,setup.cfg,setup.py,setup_osx.py,local.properties,p4a_env_vars.txt:" -i buildozer.spec
sed -r "s:#? ?android\.skip_update =.*:android.skip_update = True:" -i buildozer.spec
sed -r "s:#? ?android\.accept_sdk_license =.*:android.accept_sdk_license = False:" -i buildozer.spec
Expand Down
1 change: 1 addition & 0 deletions buildozer/minimal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ cardset-neo-hex
cardset-neo-tarock
cardset-next-matrix
cardset-oxymoron
cardset-simple-ishido
cardset-standard
cardset-tuxedo
cardset-uni-mahjongg
Expand Down
6 changes: 3 additions & 3 deletions buildozer/pubspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 102122100,
"versionName": "2.21.0",
"versionCode": 102122400,
"versionName": "2.24.0",
"outputFile": "pysolfc-release.apk"
}
],
"elementType": "File"
}
}
24 changes: 24 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/102122400.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Android specific:
- Temporary screen orientation lock added. When the app starts (or
restarts) the screen will rotate according to the device orientation.
While playing a game screen rotation is locked with the first
card selection. Screen rotation lock can be disabled by a double click to
the free game area.
- Toolbar: general toolbar show/hide for inividual buttons added to the
options menu.
- Toolbar: dynamic updates on Toolbar and Options settings.
- Toolbar: To prevent occasional restarts or redeals due to 'fat fingers'
a toast has been added to buttons for 'new deal' and 'restart'. To
accept the command tap onto it.
- Implementation of full picture preview for the new puzzle type games.
- Background images from the save-aspect folder now are preserving
correct aspect ratio (bug fix).
- Mahjongg tile overlapping (3d simulation) is now implemented.
- Animation of card moves reworked. This fixes some stacking order corruptions
reported earlier.
- Display of html-text (game rules, licence etc): Black windows fixed.
- Upstream libraries updated to kivy v2.2.1 and python v3.10
Main version:
- many new games.
- consult NEWS.asscidoc or html-src/news.html on the github repo for more
change informations.

0 comments on commit 77fd05e

Please sign in to comment.