Skip to content

Commit

Permalink
Resolve Studio fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbvfx committed Aug 8, 2022
1 parent 2c9f4de commit 05f2b60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Very very very simple ~~(and probably not memory efficient)~~ Discord Rich Prese

## Todo
- ~~Getting currently open project name~~
- Fix Studio version
- ~~Fix Studio version~~
- Linux & macOS support

## Contributing
Expand Down
6 changes: 4 additions & 2 deletions src/net/jacobb/resolverpc/WindowNameFunc.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ public static AtomicReference<String> WindowName() throws InterruptedException,
unq = unq.replace("N/A", "");
// System.out.println(unq);


if (unq.contains("Project Manager")) {
current.set("Inside: Project Manager");
}
else if (unq.contains("DaVinci Resolve - ")){
unq = unq.replace("DaVinci Resolve - ", "");
else if (unq.contains("DaVinci Resolve - ") || unq.contains("DaVinci Resolve Studio - ")) {
unq = unq.replace("DaVinci Resolve - ", "")
.replace("DaVinci Resolve Studio - ", "");
current.set("Editing: " + unq);
}

Expand Down

0 comments on commit 05f2b60

Please sign in to comment.