Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BUG) .apps-launcher source fail when some app's name has new line #24

Open
qwreey opened this issue Oct 3, 2022 · 1 comment
Open

Comments

@qwreey
Copy link

qwreey commented Oct 3, 2022

If you have some app which has new line in there name
(such as korean IPS 'U+' `s customer service app)

Screenshot_20221004-021013_Termux

you can see that dot file can't be loaded well
(after adding "" in app name like below, it was fixed well)

Screenshot_20221004-020150_Termux
Screenshot_20221004-020307_Termux

I think that all app's name should be wrapped be " and all of escape sequence should be removed or escaped well

(sorry for lack of english skill)

@qwreey qwreey changed the title (BUG) .apps-launcher source fail when some app'name has new line (BUG) .apps-launcher source fail when some app's name has new line Oct 3, 2022
@qwreey
Copy link
Author

qwreey commented Oct 3, 2022

just adding

appName = appName.replace("\t'"," ");
appName = appName.replace("'\n"," ");

can fix this

qwreey added a commit to qwreey/termuxlauncher that referenced this issue Oct 3, 2022
Check amsitlab#24 for detailed information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant