Skip to content

Commit

Permalink
Choose bundleid instead of app name for the spawn hud
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Feb 29, 2024
1 parent e2e371b commit a616761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ endif
DESTDIR?=

ifeq ($(shell uname),Darwin)
# CFLAGS+=-arch arm64e -arch arm64
# LDFLAGS+=-arch arm64e -arch arm64
SO_EXT=dylib
else
SO_EXT=so
Expand Down
4 changes: 2 additions & 2 deletions src/urimaker.inc.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ repeat_device:;
if (R_STR_ISEMPTY (app)) {
goto repeat;
}
char *sp = strchr (app, ' ');
char *sp = strchr (app, '(');
if (sp) {
r_str_cpy (app, sp + 1);
sp = strchr (app, ' ');
sp = strchr (app, ')');
if (sp) {
*sp = 0;
}
Expand Down

0 comments on commit a616761

Please sign in to comment.