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

basic package install format with example icon install #59

Open
ghost opened this issue Oct 7, 2017 · 2 comments
Open

basic package install format with example icon install #59

ghost opened this issue Oct 7, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 7, 2017

I would be very interested in hearing what we think about deployent of the icons, perhaps we could look to the other projects out there that have done this sort of thing already.

or something like it:

lamden_droplet_public.install.tar.xz

scriptable icon installation

iconutil -c lamden_logo_sized ~/.lamden/lamden.iconset


Creates a custom icon for keepass database files (*.kdb)
# grep kdb /usr/share/mime/globs | egrep -o '.+\/[^:]+' | tr '/' '-'
application-x-keepass ;# rename your icon according to this output
xdg-icon-resource install --size 128 --context mimetypes application-x-keepass.png
https://wiki.archlinux.org/index.php/icons

echo 'application/x-lamden' >> /etc/mime.types
cp ./install/application-x-hwp.svg /usr/share/icons/gnome/scalable/mimetypes

https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s03.html
https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
basedir=$HOME/.icons
mkdir $HOME/.icons
mkdir $XDG_DATA_DIRS/icons
mkdir /usr/share/pixmaps

cp $basedir/hicolor/48x48/apps

https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s04.html

It might be the case that we could break this out into a separate repo for the deployment and packaging aspects of the UI/UX and file structure saving.

@StuartFarmer
Copy link
Contributor

That would be cool. I know for Mac and iOS, the icon sets are embedded in the .app executable file. Here's where the Keybase icon is stored when you 'Show Package Contents' on the executable on Mac.

image

I'm not sure how the icon system works for archives and file types that take 'default' applications such as Archive Manager or Keka where the default app assigns an icon to the file type. That being said, we can probably generate a simple automation script, package it as a desktop app, then assign an icon to it and that application would just serve as a launcher to Saffron or whatever we're trying to do.

@ghost
Copy link
Author

ghost commented Oct 7, 2017

ah yeah electron very good point

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