-
Notifications
You must be signed in to change notification settings - Fork 185
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
Create macos app bundles from build script #2270
Conversation
0d50d25
to
759fb58
Compare
App integration seems to work after symlinking to /Applications. The logic is slightly modified making app bundles persistent: build app bundles if they are requested or if old app bundles exist and if it is necessary to update them because I modified This allows using plain old
|
Great! Thanks! I was struggling a bit with figuring out the mechanics of the build script... |
How about integrating |
I just had the exact same thought! It avoids clutter... |
It should work on linux now as well. Tested only on ubuntu 20.04.2. In summary, what ./set_path now does is:
|
@jdtournier: one thing I did notice, is that nii.gz and mif.gz are not handled on Linux, despite them being mentioned in the XML file. Is this supposed to work? It is not handled on macos either, apart from being able to right click .gz files and choosing to open them with mrview, because I also registered .gz. |
OK, running What doesn't work is running |
it should be |
If you double-click a nii.gz it opens in mrview? That does not happen on my ubuntu installation. I just opens in archive manager... And there is also no option to right-click and choose MRview like there is on macos. Where could these different behaviors originate from? |
What desktop environment are you running in? I'm on Gnome 3.38, and that offers a right-click option to open with another application... |
🤦 Everything works perfect... Only suggestion is to somehow document how to use the command. Not sure how best to do this, but obvious thing would be to print out purpose and usage with anything that looks like the |
Gnome 3.36.8. I have that option, but then I have to manually select MRview from the list of applications |
I did too, the first time. But presumably you only have to set this once, right? |
With the increased scope of |
Yes, you're right that |
On my ubuntu system, this is placed on my desktop: But it does not use the right icon and when I click it, it just opens in a text editor. This is not supposed to happen, right? That said, I don't like it when stuff is added to my desktop, so could we just drop the xdg-desktop-icon call? Still puzzled why it does not work though ... |
OK, I don't see any icons on my desktop since GNOME shell running on Wayland doesn't support showing them... Must say I've not really missed them, but it does mean I'd not noticed this as a problem. You could easily ditch the |
Yes, and that one works :) |
8ed9832
to
4b9cd0d
Compare
Just tested with latest dev and seems to be in pretty good shape (especially thanks to the commits by @maxpietsch)! Maybe still requires a few linux users double checking that Also, I was thinking we could remove the |
e391dbe
to
cf20916
Compare
Closing since #2739 was merged. |
will create the necessary app bundle wrappers for macos
Running a subsequent
will revert to 'normal' binaries.