-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Added Open With apps for macOS #917
Conversation
5f2d06c
to
02692f4
Compare
PR updated with Preference settings - ready for a review |
PR updated - reverted changes to Preferences and using menu to show a hint how to enable apps in Open With. |
36bf808
to
78a281a
Compare
PR rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed mostly the cleanup parts - and posted #932 for the try-with-resources
looked part that retrieves the apps with 'duti' briefly - it looks alright but I need to take a closer look
mucommander-command/src/main/java/com/mucommander/command/CommandManager.java
Outdated
Show resolved
Hide resolved
mucommander-command/src/main/java/com/mucommander/command/CommandManager.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/core/desktop/DesktopManager.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/ui/main/menu/TablePopupMenu.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/ui/main/menu/OpenWithMenu.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/ui/main/menu/OpenWithMenu.java
Show resolved
Hide resolved
mucommander-command/src/main/java/com/mucommander/command/CommandExtended.java
Outdated
Show resolved
Hide resolved
mucommander-command/src/main/java/com/mucommander/command/CommandManager.java
Outdated
Show resolved
Hide resolved
mucommander-command/src/main/java/com/mucommander/command/CommandManager.java
Outdated
Show resolved
Hide resolved
And whether the "right way way" from #759 (comment) is still OK when it comes to Apple M1 (brew installs under a different folder in M1s). |
PR updated addressing comments that I've marked as 'resolved' |
PR updated (CommandExtended moved to Command) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed all changes, added few more minor comments - other than that, lgtm
mucommander-core/src/main/java/com/mucommander/ui/main/menu/OpenWithMenu.java
Outdated
Show resolved
Hide resolved
mucommander-os-macos/src/main/java/com/mucommander/desktop/macos/OSXDesktopAdapter.java
Outdated
Show resolved
Hide resolved
mucommander-os-macos/src/main/java/com/mucommander/desktop/macos/OSXDesktopAdapter.java
Outdated
Show resolved
Hide resolved
mucommander-os-macos/src/main/java/com/mucommander/desktop/macos/OSXDesktopAdapter.java
Show resolved
Hide resolved
PR updated addressing review comments |
thanks @pskowronek ! |
Added Open With apps for macOS, #759
The change only adds apps to Open With under macOS and only for contextual (right click) menu - Main menu is left as it was (not sure if we want apps to be added to it and if so how/when to refresh the Open With menu in there).
Since finding apps for a given file can take a while for extension with a lot of apps, I added 'Loading...' to menu and moved the process to background. The delay is mostly from
mdfind
that gets app name from bundle id.Information how to enable this feature on macOS: