18 Commits

Author SHA1 Message Date
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Moritz
cef511c5d2 Link spec for finding icon dir in install script
This is a follow up for #15498
2018-01-13 01:53:19 +01:00
MoritzKn
a36ec5d530 Add force icon update to install script
This prevents possible issues with icons not loading immediately
2017-08-30 06:30:12 +02:00
MoritzKn
6d2a90604a Install icons to enable alternative icon themes (linux)
The xdg desktop file specification allows for icons to be either a
absolute path just a name. If the name is not an absolute path,
a icon from a icon theme will be used. This commit changes the
desktop file to use a icon name and adds the icons to the default
theme (hicolor). This allows the user to choose an alternative icons
theme that will override the default icon.

The relevant specs:

https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
> Icon to display in file manager, menus, etc. If the name is an
> absolute path, the given file will be used. If the name is not
> an absolute path, the algorithm described in the Icon Theme
> Specification will be used to locate the icon.

https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s07.html
> Installing Application Icons: [...] Minimally you should install a
> 48x48 icon in the hicolor theme. This means installing a PNG file
> in $prefix/share/icons/hicolor/48x48/apps.

https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s03.html
> Icons and themes are looked for in a set of directories. By
> default, apps should look in $HOME/.icons (for backwards
> compatibility), in $XDG_DATA_DIRS/icons and in
> /usr/share/pixmaps (in that order).

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables
> $XDG_DATA_DIRS defines the preference-ordered set of base
> directories to search for data files in addition to the $XDG_DATA_HOME
> base directory. The directories in $XDG_DATA_DIRS should be
> seperated with a colon ':'.
> If $XDG_DATA_DIRS is either not set or empty, a value equal to
> /usr/local/share/:/usr/share/ should be used.
2017-08-30 05:14:45 +02:00
MoritzKn
e99b57a492 Change install script to install dev channel separately 2017-08-30 05:14:20 +02:00
MoritzKn
685255e688 Divide install script in blocks 2017-08-30 05:14:20 +02:00
MoritzKn
74f9249eae Use icon from installationDir in xdg desktop file 2017-08-30 05:14:20 +02:00
MoritzKn
2062c01ca4 Remove duplicate code in install script 2017-08-30 05:14:14 +02:00
Max Brunsfeld
514952614e Replace runas with fs-admin in install-application script 2017-08-25 14:18:26 -07:00
Wliu
7c2510eb9c Merge branch 'master' into wl-build-on-node-7 2017-05-11 12:06:26 -04:00
Krzesimir Nowak
1e9083d3b6 Handle tilde as home dir in darwin and linux 2017-03-28 13:26:14 +02:00
Krzesimir Nowak
de9f491474 Allow specifying installation directory 2017-03-28 11:40:40 +02:00
Wliu
20635a4f4f :lint: 2017-01-25 11:13:42 -05:00
Antonio Scandurra
5b85e1c797 Allow script/build --install on all platforms 2016-08-30 12:21:55 +02:00
Antonio Scandurra
061ae3786a Remove custom copySync function
Originally we introduced this function because we thought empty
directories were causing path length issues on Windows, but it turns out
that it was a problem with Squirrel, so we can delete this code path
altogether.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-16 18:08:16 +02:00
Damien Guard
886faf237d 🔨 Apply filter to dirs as well as files 2016-08-08 14:34:56 -07:00
Antonio Scandurra
d089c94f3b Remove trailing ... in log messages 2016-08-08 15:18:21 +02:00
Antonio Scandurra
af9fd41723 Allow Atom to be installed on OS X 2016-08-03 15:50:27 +02:00