Skip to content
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

Improve user experience for apps in disk images #152

Open
probonopd opened this issue Oct 19, 2022 · 0 comments
Open

Improve user experience for apps in disk images #152

probonopd opened this issue Oct 19, 2022 · 0 comments

Comments

@probonopd
Copy link
Member

probonopd commented Oct 19, 2022

This is the current helloSystem user experience:

image

This is the user experience users know from elsewhere:

image

Thanks @Anvith00 for providing the screenshots.

To achieve this effect,

  1. A symlink to the /Applications folder must be inside the disk image
  2. The properties of the window (including icon size and position) must be stored (Details)
  3. A background image must be shipped. The background image contains the arrow
  4. The file manager must know how to use the background image
  5. For custom icons for the volume (mounted disk on the desktop), support .VolumeIcon.icns

We could do 1. immediately and easily. However, some people may want to put applications into /Applications whereas others might want to put them into ~/Applications, in folders within those folders, or in entirely different places. I always found it a bit limiting to suggest that all applications need to to to /Applications and never really put them there, even on the Mac. One could argue, though, that we should still put in the symlink as users are not forced to use it.

As for the other points, some engineering would be needed. 2. is currently not implemented all the way, and 3. is not implemented yet but should not be complicated. For 4. see #127. 5. has already been done.

To test 5.:

wget --trust-server-names "https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang=en-US"
./darling-dmg ./Firefox*.dmg /mnt
FreeBSD% ./darling-dmg Firefox\ 106.0.dmg /media/Firefox 

Will in fact show the correct icon.

dmgwithicon

So to make this work, someone would need to implement 2. @moochris has done great initial work but unfortunately is no longer active in the project, so it was never finished so far. Vounteers?

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant