Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Imms
69e4e5bc46 Don't use the CLI for the desktop entry
Fixes #24961
2017-04-27 10:24:04 -07:00
Rômulo Guimarães
b31dde368f Update Exec param at code.desktop
The `/usr/share/code/code/` path opens a new window with errors.
Adding bin to the path fixes it.
2017-04-11 12:23:42 -03:00
Christof Marti
fc92ea41fd Do not force new window when opening file or folder with launch on Unity (fixes #21133) 2017-02-23 11:07:51 -08:00
Daniel Imms
94f30c3e8b Add --new-window-if-not-first CLI arg
This allows shift+click/middle+click/num+super Windows and Unity shortcuts to
work as expected while not changing regular launch behavior.

Part of #48
2017-01-05 10:10:38 -08:00
Daniel Imms
23217e2f4b Indicate that code opens directories in code.desktop
Fixes #15741
2016-11-18 17:09:42 -08:00
Urban Dove
e7f6f45f14 Add 'vscode' as a keyword in the .desktop file so you can search for vscode not only for code 2016-06-19 01:19:40 -04:00
Daniel Imms
069e325d0b Use electron binary over CLI in desktop entry
Fixes #6110
2016-05-27 16:12:56 -07:00
Daniel Imms
4c71c3ed16 Use correct StartupWMClass in desktop entry
This prevents two entries appearing in the launcher.

Fixes #6593
2016-05-27 16:11:01 -07:00
Daniel Imms
9b8383faac Localize "New Window" in desktop entry
Fixes #5234
2016-04-13 13:36:56 -07:00
Xaver Hellauer
5852199686 Add "new window" action to code.desktop
In Gnome and Unity desktop (and maybe some others) this can be used to open a new Code window through right click on the launcher icon and then on "New Window".
2016-04-04 17:59:09 +02:00
Daniel Imms
3ddbbe9a95 Implement .rpm package gulp task
.rpm packages can now be build with:

    gulp vscode-linux-<arch>-build-rpm

The resulting package will be output to ~/rpmbuild/RPMS/<arch>/ and can be
installed on a Red Hat-based distro with:

    yum localinstall <path>

Note that Debian systems can build the package after installing the 'rpm'
package:

    apt-get install rpm

This was tested building 64-bit on Ubuntu 15.10 and installing on CentOS 7.

Fixes #3595
2016-03-07 12:36:26 -08:00