v0.14.0 - 2025-01-16
Commit history: Add dynamic shortcuts. Implemented by @fabian-thomas and @agnostic-apollo in #80. ( Add support for shared day/night theming based on Add Refresh all widgets when main activity starts instead of having to press the Add support for refreshing all widgets in in-app button and passing Add monochrome icon. Implemented by @daywalk3r666 in #99 ( Add ! Change
Rename Refactor The This commit will also now pass absolute path of shortcuts when creating intents for shortcuts and widgets instead of canonical path. This will allow path expansion to be done during execution instead of at creation and if underlying symlink destination changes, new destination will be executed. There will still be a security check during execution to check if shortcut is under allowed directories. The shortcut label will now also be generated from absolute path instead of canonical path as mentioned in #59.
Co-authored-by: Fabian Thomas fabian@fabianthomas.de. ( Change the word ! Add ! Use dot ! Rename Remove termux-emulator JNI libs from APK. ( Update suggested permissions for
Show In this stuck state which may happen after app updates or if app process gets killed without being restarted by Android, the widgets must be refreshed by starting the Termux:Widget app or with the refresh button in the main activity.
If the widget was successfully refreshed/updated and shortcuts directory was empty, only then the ( Fix issue where app main activity will be brought to front if it existed in recent apps stack and a shortcut was run from launcher. ( Remove replacement of '-' to ' ' in file names. (v0.13.0...v0.14.0
Changelog
Added
6253df51
, bf224475
)
night-mode
termux.properties
value. (397359b9
)
SystemEventReceiver
that receives the ACTION_BOOT_COMPLETED
and ACTION_MY_PACKAGE_REPLACED
intents to refresh widgets. This should help fix issues on any potential devices that fail to send the AppWidgetManager.ACTION_APPWIDGET_UPDATE
intent that is normally sent by Android to the app for it to refresh its widgets, but do send other intents on boot or app updates and don't kill the app after app updates. (d480a8ae
)
Refresh Widgets
button manually. (aed127d7
)
0
in am broadcast -n com.termux.widget/.TermuxWidgetProvider -a com.termux.widget.ACTION_REFRESH_WIDGET --ei appWidgetId <id>
broadcast. This also allows a way to fix occasional non-responsive widgets after app updates if ACTION_APPWIDGET_UPDATE
was not sent/received by Termux:Widget app. (497c1cfb
)
72fff0f5
)
workflow_dispatch
and cron
schedule for "00:15 on 1st of every 2nd month" to github_action_build
workflow triggers. (222cab3a
)
sha256sums
filename to checksums-sha256.txt
that is generated for APKs built and uploaded to GitHub releases/actions with GitHub actions and log checksum file contents. This is done so that the checksums gets stored internally in GitHub action logs as well and if APK/checksum files attached to GitHub releases are modified manually by someone, this can be detected, at least until logs expire. (fa85579c
)
Changed
TermuxWidgetActivity
to TermuxWidgetMainActivity
. The TermuxWidgetLauncherActivity
activity alias has been added for TermuxWidgetMainActivity
. This will allow disabling the launcher activity, but still allow the main activity to be launched from Termux app (by running am start com.termux.widget/com.termux.widget.activities.TermuxWidgetMainActivity
) or from widget title in future. The launcher activity will also now be allowed to be enabled again without having to reinstall the app with the Enable Launcher Icon
button in the main activity if its currently disabled. (639483ad
, d4cfdb2c
)
TermuxCreateShortcutActivity
to move shortcut functions to ShortcutFile
and change shortcut path behaviour.
ShortcutFile
will now store the path instead of the file object.
Co-authored-by: agnostic-apollo agnosticapollo@gmail.com.
b67203aa
)
reload
to refresh
when refreshing widgets to be consistent. (a19b8edd
)
-app
suffix to app name and add version name in APKs generated. (96c5d1e4
)
.
as tags separator instead of dash -
for github
release source and debug
build type in the apk version tag. This is done to be consistent with semver build metadata tags. For example github-debug
will now be github.debug
. (07cef6c3
)
app/build.gradle
environmental variables to TERMUX_WIDGET_APP__BUILD__
scope instead of TERMUX_WIDGET_
.
TERMUX_WIDGET_APP_VERSION_NAME
to TERMUX_WIDGET_APP__BUILD__APP_VERSION_NAME
.
TERMUX_WIDGET_APK_VERSION_TAG
to TERMUX_WIDGET_APP__BUILD__APK_VERSION_TAG
.
750f981e
)
.shortcuts/icons
. Implemented by @SuspectTyrannosaurus in #69. (a5e1f43b
)
Fixed
Open Termux:Widget app to refresh widget
message instead of No files in ~/.shortcuts/
message when initial layout of widget is being shown so that it is not confused with shortcuts directory being empty.
No files in ~/.shortcuts/
message will be shown.
de8c1a63
)
03c9cb77
)
ad155a6c
)
Check Installation for more info on termux-widget_<version>+github-debug.apk
files attached.