termux / termux-widget

Termux add-on app which adds shortcuts to commands on the home screen.
https://f-droid.org/en/packages/com.termux.widget
Other
1k stars 117 forks source link

Termux shortcuts' icon not charging after 2nd attempt due to previous existence in the launcher as a shortcut #117

Open HusniMuhammad opened 5 months ago

HusniMuhammad commented 5 months ago

Problem description

Termux shortcuts' icon not charging after 2nd attempt due to previous existence in the launcher as a shortcut

Steps to reproduce the behavior.

create shortcut without icon (i.e hello.sh file only)

then setup icon for that sh file and create shortcut again (don't delete previous icon)

To confirm Delete previous shortcut and create shortcut again (Particular file' s number shortcuts should be = 0)

This time should see lastest icon with the icon

What is the expected behavior?

changing the icon for that sortcut

System information

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
APK_RELEASE: Github
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Termux:API App Info

APP_NAME: Termux:API
PACKAGE_NAME: com.termux.api
VERSION_NAME: 0.50.1
VERSION_CODE: 51
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
APK_RELEASE: Github
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Termux:Widget App Info

APP_NAME: Termux:Widget
PACKAGE_NAME: com.termux.widget
VERSION_NAME: 0.13.0
VERSION_CODE: 13
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
APK_RELEASE: Github
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 4.14.193+-ab475
SDK_INT: 30
RELEASE: 11
ID: RP1A.201005.001
DISPLAY: RMX3231_11.A.123
INCREMENTAL: 475
SECURITY_PATCH: 2024-02-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: realme
BRAND: realme
MODEL: RMX3231
PRODUCT: RMX3231
BOARD: RMX3231
HARDWARE: RMX3231
DEVICE: RMX3231
SUPPORTED_ABIS: armeabi-v7a, armeabi