Commit Graph

23 Commits

Author SHA1 Message Date
Benjamin Pasero
23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Benjamin Pasero
da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Benjamin Pasero
afde7913eb build - set no-sandbox everywhere (#81096) 2019-09-18 13:55:03 +02:00
Sergio Schvezov
19526f4123 snap: add assets verbatim (#80585)
* snap: add assets verbatim

Providing the desktop files in snap/gui will have snapcraft copy over
those assets into the snaps meta/gui verbatim.

Addtionally, add a leading ${SNAP} to the Icon entry which was also
moved to snap/gui for the "package" to have an icon by default
(which is important when sideloading).

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

* escape

* fix snapcraft.yml

* use @@EXEC@@ in desktop files

* fix bad path

* fix snap desktop file
2019-09-10 17:12:45 +02:00
Daniel Imms
363e829071 Fix clicking on dock in Ubuntu opening additional windows
Fixes #65460
2019-01-28 06:59:31 -08:00
钊哥
c8e3e33045 Wrong placeholder in the .desktop file 2018-02-28 23:54:41 +08:00
Daniel Imms
633901769a Rename New Window action to New Empty Window
New versions of Gnome name the default action as New Window, this breaks
workspace restoring under Ubuntu 17.10 and presumably other distros on the
same verison of Gnome as well.

Fixes #36695
2017-10-25 10:23:59 -07:00
Daniel Imms
d2b2b4d7ea Add support for building x64 snap package 2017-09-26 14:18:00 -04:00
Benjamin Pasero
d77532402a linux: remove background color from icon for now 2017-08-31 09:26:29 +02:00
Benjamin Pasero
e243bad3f2 set background color for code icon on linux 2017-08-23 07:37:19 +02:00
Daniel Imms
189a17e23c Use %F for new windows too
Part of ##25987
2017-07-31 13:17:38 -07:00
Daniel Imms
2c745007c3 Use %F in code.desktop instead of %U
%U may pass in file:// format which isn't supported.

Fixes #25987
2017-07-31 11:57:37 -07:00
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