Commit graph

136 commits

Author SHA1 Message Date
Joao Moreno 12ab70d329 fix line endings 2018-03-05 12:47:11 +01:00
钊哥 c8e3e33045
Wrong placeholder in the .desktop file 2018-02-28 23:54:41 +08:00
peidaqi 100b58a1ed
Making the script work with both Python2 and 3
Added enclosing parenthesis to the print() statement so it works if the sys default python is changed to Python3.
2018-02-10 06:42:52 -08:00
Daniel Imms 1d8b6bd409 Update snap build 2018-01-31 15:44:11 -08:00
Benjamin Pasero 262660203e fix #41429 2018-01-12 07:27:30 +01:00
Benjamin Pasero 549cda29da 💄 2017-12-20 16:57:40 +01:00
Benjamin Pasero 4e9cd88e37 save as admin - handle case for readonly files 2017-12-14 15:50:21 +01:00
Benjamin Pasero ff9c9e5966 allow to run CLI as root when running --write-elevated-helper 2017-12-12 16:25:36 +01:00
Daniel Imms a25c3980e7 Improve wording when launching from sudo 2017-11-28 12:16:43 -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 e29c517386 Revert "replace bash shebang with '#!/usr/bin/env bash" for portability"
This reverts commit 86dace91a2.
2017-10-06 09:33:22 -07:00
Julian Andres Klode e073e848d7 Correctly get apt dirs in debian postinst
This previously used some crazy hack to parse the output of
`apt-config dump`, instead of using `apt-config shell` like
you are supposed to do.
2017-10-03 18:42:17 +02:00
Daniel Imms 081a57ca96 Remove epoch from snap package 2017-10-02 13:34:07 -07:00
Daniel Imms e05b15cd12 Clean up comment 2017-10-02 13:33:30 -07:00
Daniel Imms d2b2b4d7ea Add support for building x64 snap package 2017-09-26 14:18:00 -04:00
Putta Khunchalee 86dace91a2 replace bash shebang with '#!/usr/bin/env bash" for portability 2017-09-17 21:19:08 +07:00
Benjamin Pasero c41f3bf5c3 💄 color 2017-09-05 09:55:33 +02:00
Benjamin Pasero 9fa0a77edd Windows: logo does not have a specific background (fixes #33362) 2017-09-05 08:00:59 +02: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
Christof Marti 3bdbece14d Proposed credentials API: Linux dependencies 2017-07-18 16:01:31 -07:00
Benjamin Pasero de4b5be4c6 Move our watermark to resources so that distro can pick it up (#30256)
* move watermark to resources folder

* add to build

* 💄

* update distro

* update distro
2017-07-12 08:57:37 +02:00
Daniel Imms 69e4e5bc46 Don't use the CLI for the desktop entry
Fixes #24961
2017-04-27 10:24:04 -07:00
Daniel Imms 43e059e651 Add libgconf-2-4 as a .deb dependency
Fixes #24945
2017-04-21 09:45:52 -07:00
Daniel Imms a7cd47d55a Merge pull request #24523 from romulo1984/master
Update Exec param at code.desktop
2017-04-18 14:26:27 -07:00
Daniel Imms 6c9ead0321 Update VS Code source list if disabled by OS upgrade
Fixes #24898
2017-04-17 10:08:54 -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
Daniel Imms eb6e5e207b Use better libxkbfile dep
Fixes #23261
2017-04-03 07:33:01 -07:00
Daniel Imms 68e6886423 Add libxkbfile-dev(el) as Linux package deps
Fixes #23261
2017-03-29 14:52:15 -07:00
Lorenzo Tilve 554029f6e9
Make more descriptive appdata summary field 2017-03-21 18:55:08 +02:00
Daniel Imms 4db944bc08 Install apt repository as http, not https
Fixes #21654
2017-03-01 22:42:52 -08:00
Daniel Imms 713a4d6297 Merge pull request #20988 from fsateler/patch-2
Add gnupg and apt to depends
2017-02-27 15:09:08 -08: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
Felipe Sateler b3a033b80d Add gnupg and apt to depends
The postinst template uses tools from those packages.

Normally they are installed in most systems. However, this is not guaranteed. Lets make it guaranteed.
2017-02-21 09:53:53 -03:00
Daniel Imms 735a7c0cd7 Only install repo and key if they don't already exist 2017-02-16 23:12:36 -08:00
Daniel Imms f976701c85 Install apt key and source for repository in deb postinst
Part of #2973
2017-02-16 22:34:49 -08:00
Daniel Imms 496b804f8a Prime postinst for apt repo 2017-02-15 22:50:02 -08:00
chrmarti feebefb676 Copy code-icon.svg to near where it is used (fixes #19541) 2017-02-07 07:59:55 -08:00
Christof Marti 01d9849401 Update OSS icon 2017-02-02 13:48:51 -08:00
Christof Marti 852c1e34d5 Need a default icon (#18860) 2017-01-26 21:23:38 -08:00
Daniel Imms 289dbf77e3 Fix linux CLI sudo argument parsing
Fixes #17713
2017-01-25 12:03:59 -08:00
Daniel Imms 9c298b0978 Fix cli.js always opening from WSL shell
Also support relative paths

Fixes #13138
2017-01-13 18:01:35 -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
Tilman Vatteroth 20bbbfa6fe linux argument startup fix 2016-12-27 14:11:21 +01:00
Daniel Imms 95fa5500ee Use common summary/desc in .appdata.xml 2016-12-18 17:55:05 -08:00
Adrian Perez de Castro 1e300d1f7e
Add an AppData XML data file to Linux builds
The AppData files provide descriptive data about an application, and is
typically used in application managers to display additional information to
the user. Having an AppData file is especially important for some graphical
application installers: without one, an application manager may not event
show an entry for the application. This happens for example in GNOME Software.

For the sake of completeness, this commit not only adds the AppData file to
the Flatpak build, but also to the Linux .deb and .rpm packages.
2016-12-18 20:57:25 +02:00
Daniel Imms b69e40dd8a Use license in product.json for rpm
Fixes #17133
2016-12-13 21:10:29 -08:00
Daniel Imms 9f4d4978e1 Improve rpm dependencies
Fixes #17142
2016-12-13 19:58:38 -08:00