Skip to content

Commit 05f2b60

Browse files
committed
Resolve Studio fix
1 parent 2c9f4de commit 05f2b60

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Very very very simple ~~(and probably not memory efficient)~~ Discord Rich Prese
1515

1616
## Todo
1717
- ~~Getting currently open project name~~
18-
- Fix Studio version
18+
- ~~Fix Studio version~~
1919
- Linux & macOS support
2020

2121
## Contributing

src/net/jacobb/resolverpc/WindowNameFunc.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ public static AtomicReference<String> WindowName() throws InterruptedException,
2121
unq = unq.replace("N/A", "");
2222
// System.out.println(unq);
2323

24+
2425
if (unq.contains("Project Manager")) {
2526
current.set("Inside: Project Manager");
2627
}
27-
else if (unq.contains("DaVinci Resolve - ")){
28-
unq = unq.replace("DaVinci Resolve - ", "");
28+
else if (unq.contains("DaVinci Resolve - ") || unq.contains("DaVinci Resolve Studio - ")) {
29+
unq = unq.replace("DaVinci Resolve - ", "")
30+
.replace("DaVinci Resolve Studio - ", "");
2931
current.set("Editing: " + unq);
3032
}
3133

0 commit comments

Comments
 (0)