Commit Graph

32 Commits

Author SHA1 Message Date
Daniel Imms
9b8383faac Localize "New Window" in desktop entry
Fixes #5234
2016-04-13 13:36:56 -07:00
Daniel Imms
6456f85788 Disallow running as root without --user-data-dir
This commit adds the --user-data-dir argument which allows a custom data dir
for Chromium's user data. This is useful when running as root on Linux since
the root user does not have read or write permissions for the ~/.config/Code
dir.

Part of #3068
2016-04-06 16:31:36 -07:00
Daniel Imms
cd12a7e389 Include the Linux bin command in the main dir
This also changes the behavior of the bin command to find cli.js relatively,
meaning the CLI now supports non-standard install locations.
2016-04-05 14:51:03 -07:00
Daniel Imms
6e113d01f0 Move bin command to /usr/share/<app>/bin
/usr/bin/<app> now symlinks to the launcher. This makes the CLI
accessible in the zip archive version.

Fixes #4426
2016-04-04 16:25:12 -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
ba6f665c6d Merge .deb postinst and postinst.oss 2016-04-01 12:36:26 -07:00
Daniel Imms
e4d6038750 Use update url variable for yum repo 2016-04-01 12:32:27 -07:00
Daniel Imms
d23ce88450 Add yum repository registration
This is currently disabled until the repo is signed

Part of #229
2016-04-01 12:29:59 -07:00
Daniel Imms
51209bba91 Add Icon to rpm file
Related to #4155
2016-03-24 14:01:51 -07:00
Daniel Imms
e0c7d51ffa Remove legacy bin command as rpm post install step
Fixes #4442
2016-03-23 15:31:06 -07:00
Daniel Imms
6b0d3d2cae Correct source repository format
Some changes were made to the endpoints.
2016-03-23 10:56:49 -07:00
Daniel Imms
ef2a1fcaa5 Fix deb postinst script 2016-03-20 11:19:18 -07:00
Daniel Imms
d451e0222a Don't need to use -r arg 2016-03-18 15:27:25 -07:00
Daniel Imms
b6486f7ddf Remove the legacy Linux bin command when installing stable 2016-03-18 15:17:50 -07:00
Daniel Imms
a0a22c8a51 Disable apt repository source
Need repository to be signed before enabling
2016-03-18 11:51:13 -07:00
Daniel Imms
01be0ac7fe Add Group, Vendor and Packager metadata to rpm spec 2016-03-09 19:53:06 -08: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
Daniel Imms
572be7e529 Register code to the Debian alternatives system
Fixes #3541
2016-02-29 15:44:47 -08:00
Daniel Imms
346b45740b Merge pull request #3513 from Tyriar/2973_deb_register_apt_repository
Register the apt repository as a source for official .deb builds
2016-02-29 14:45:42 -08:00
Daniel Imms
2428e2516e Revise deb package wording
Fixes #3457
2016-02-29 09:54:18 -08:00
Daniel Imms
d624636afe Register the apt repository as a source for official .deb builds
Part of #2973
2016-02-26 09:01:39 -08:00
Joao Moreno
d46c0646f2 move back to ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-02-15 11:07:22 +01:00
Daniel Imms
ec54b8289e Add git as a package dependency 2016-02-12 13:36:00 -08:00
Daniel Imms
994b0ad09d Add maintainer email back in
It's a package quality requirement to avoid security warnings on installation
2016-02-12 13:34:44 -08:00
Joao Moreno
76465f35f8 make control quality aware 2016-02-12 16:26:40 +01:00
Joao Moreno
16f31d80e8 make code.desktop quality aware 2016-02-12 16:11:49 +01:00
Joao Moreno
771257c5ab make linux deb build quality dependent 2016-02-12 15:48:47 +01:00
Joao Moreno
13f7004599 remove VSCODE_PATH from cli, move to linux 2016-02-12 14:51:20 +01:00
Daniel Imms
fe3988c9a2 Add gulp tasks to build deb packages
Build, install and run:
gulp vscode-linux-packages
sudo dpkg -i out-linux/vscode-amd64.deb
code .

Installing the package does the following:
- Puts VSCode dir at /usr/share/code
- Puts code.sh launcher in /usr/bin
- Defines a .desktop file to properly integrate with the launcher

Fixes #2679
2016-02-11 14:20:34 -08:00
Benjamin Pasero
94cba4eb31 better icons for OSS distro 2015-11-17 07:37:42 +01:00
Benjamin Pasero
4d275980f1 add OSS icon set 2015-11-15 08:30:39 +01:00
Erich Gamma
8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00