Skip to content

Commit

Permalink
fix add_icons.py and wrong compinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
flameshikari committed Dec 28, 2023
1 parent b8183e3 commit 2638dae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/new_icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ katch:
- com.aktech.katch/com.aktech.katch.SplashActivity

terminal:
- com.termux.api.activities.TermuxAPIActivity
- com.termux.api/com.termux.api.activities.TermuxAPIActivity

thermex_home:
- com.thermex.ru/com.smart.ThingSplashActivity
Expand Down
5 changes: 3 additions & 2 deletions resources/utilities/add_icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,9 @@ def verb(text=False, code=0):

for compinfo in compinfos:
match = re.search(r'^(.*?)\/[\w+.$]+', compinfo)
if compinfo != match.group(0):
out.fail(f"compinfo '{compinfo}' not looks valid")
if match:
if compinfo != match.group(0):
out.fail(f"compinfo '{compinfo}' not looks valid")

include_all += include_requests

Expand Down

0 comments on commit 2638dae

Please sign in to comment.