Adjust to menus in Phosh are now opened by swipe
Photo:
Patches:
Adjust to menus in Phosh are now opened by swipe
Adjust the text on the "Phosh" site to mention swiping for opening menus
instead of tapping the top/bottom. Add a big graphic to the first page
that should make the change immediatelly obvious. I created the image
with Inkscape.
and to show the window again after upgrading to phosh 0.20.0:
Replace the logic for only starting the app once
Previous logic:
* APKBUILD writes the desktop file to /etc/skel/.config/autostart
* As the new user gets created, this gets copied to ~/.config/autostart
* postmarketOS-welcome starts up that way on first boot
* on first start, it removes the .desktop file fril ~/.config/autostart
New logic:
* We'll always start postmarketOS-welcome with phosh (needs to be
changed in the APKBUILD)
* Immediatelly on start up, postmarketos-welcome checks if a marker file
exists that has the same version as MARKER_VERSION
* If that is the case, exit without showing the UI
* Otherwise, show the app
* Write the marker with MARKER_VERSION at the end
This new approach allows bumping the MARKER_VERSION to display the
postmarketos-welcome app again after a major change in Phosh, as it is
now the case with the way to open menus changing. If we don't give users
a hint on the first start with this change, it will probably confuse
some.