Martin Wimpress
c8493b459f
electron-launch: Create $XDG_CACHE_HOME
...
Relocate $XDG_CACHE_HOME within the snaps common user data.
2019-03-21 08:32:13 +00:00
Martin Wimpress
07f2bdc176
electron-launch: Add architecture detection
2019-03-21 08:29:33 +00:00
Martin Wimpress
22dc561765
electron-launch: Correctly map the /snap directory on Fedora
2019-03-21 08:28:45 +00:00
Martin Wimpress
16a06aceb3
electron-launch: Use bash
2019-03-21 08:26:07 +00:00
Daniel Imms
bd377076bc
Fix icon name in rpm spec
2019-03-18 07:14:02 -07:00
Benjamin Pasero
ea6ecccb68
debt - avoid approot for resources in renderer ( #70237 )
2019-03-11 18:43:10 +01:00
Daniel Imms
363e829071
Fix clicking on dock in Ubuntu opening additional windows
...
Fixes #65460
2019-01-28 06:59:31 -08:00
João Moreno
eb69d48499
Merge pull request #65579 from Kedstar99/snapFix
...
Removed snapUpdate.sh and replaced with inline command
2019-01-28 15:30:29 +01:00
Segev Finer
a0a5c9cbee
Bundle/Install completions with the correct appname
...
Fixes #66154
2019-01-08 00:40:15 +02:00
Joao Moreno
493ad1da77
temporary comment out completions
2019-01-07 17:21:02 +01:00
João Moreno
a9e56b859d
Merge pull request #56670 from segevfiner/shell-completions
...
code command completions for Bash & Zsh
2019-01-04 16:11:10 +01:00
Daniel Imms
ffe6f7950e
Drop gconf dependency
...
Fixes #62580
2018-12-27 11:03:06 -08:00
Krish De Souza
4c02c554ce
Removed snapUpdate.sh and replaced with inline command
...
+Simplifies the build process.
+Avoids creating a new shell that simply spawns another shell environment.
+Simplifies the update mechanism by removing the need to track the existence of snapUpdate.sh.
+Keeps the logic for snapUpdate.sh close to updateService.snap.ts
2018-12-22 11:53:22 +05:30
Krish De Souza
d37f1c01ec
Fixed snapUpdate.sh to use environment variable to spawn a new instance of vscode.
2018-12-06 11:36:36 +00:00
David Bailey
6c0718df37
Remove StartupWMClass from URL handler desktop file
2018-11-25 19:43:27 +00:00
Miguel Solorio
4533aa0c0a
Merge pull request #62739 from RDIL/master
...
Optimize images
2018-11-08 08:42:57 -08:00
Joao Moreno
5c3e3ec85a
snap updates
2018-11-08 14:44:32 +00:00
Joao Moreno
df6ca821a6
remove args from electron launch
2018-11-07 12:41:17 +00:00
Joao Moreno
4ae69c8c4a
cleanup snapcraft.yaml
2018-11-07 12:41:03 +00:00
ImgBotApp
d412f89baf
[ImgBot] Optimize images
...
*Total -- 201.93kb -> 142.81kb (29.28%)
/extensions/npm/images/npm_icon.png -- 3.21kb -> 0.51kb (84.1%)
/src/vs/workbench/parts/debug/electron-browser/media/stepout-tb.png -- 2.89kb -> 0.47kb (83.83%)
/src/vs/workbench/parts/debug/electron-browser/media/stop-tb.png -- 1.50kb -> 0.35kb (76.43%)
/src/vs/workbench/parts/debug/electron-browser/media/pause-tb.png -- 1.55kb -> 0.37kb (76.34%)
/src/vs/workbench/browser/parts/editor/media/forward-tb.png -- 1.57kb -> 0.37kb (76.25%)
/src/vs/workbench/browser/parts/editor/media/back-tb.png -- 1.52kb -> 0.37kb (75.53%)
/src/vs/workbench/parts/debug/electron-browser/media/continue-tb.png -- 1.60kb -> 0.42kb (73.48%)
/src/vs/workbench/parts/debug/electron-browser/media/stepinto-tb.png -- 1.66kb -> 0.47kb (71.51%)
/src/vs/workbench/parts/debug/electron-browser/media/restart-tb.png -- 1.91kb -> 0.59kb (68.84%)
/src/vs/workbench/parts/debug/electron-browser/media/stepover-tb.png -- 1.93kb -> 0.62kb (67.75%)
/resources/linux/code.png -- 5.76kb -> 2.66kb (53.86%)
/extensions/html-language-features/icons/html.png -- 4.40kb -> 2.28kb (48.15%)
/extensions/theme-seti/icons/seti-circular-128x128.png -- 8.73kb -> 4.70kb (46.12%)
/extensions/typescript-language-features/icon.png -- 1.60kb -> 0.97kb (39.15%)
/src/vs/platform/extensionManagement/node/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/src/vs/workbench/parts/extensions/electron-browser/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/extensions/vscode-api-tests/testWorkspace/sub/image.png -- 35.87kb -> 24.99kb (30.33%)
/extensions/vscode-api-tests/testWorkspace/image.png -- 35.87kb -> 24.99kb (30.33%)
/resources/win32/code_150x150.png -- 0.55kb -> 0.39kb (29.96%)
/extensions/css-language-features/icons/css.png -- 5.07kb -> 3.63kb (28.37%)
/extensions/json-language-features/icons/json.png -- 5.84kb -> 4.33kb (25.89%)
/extensions/markdown-language-features/icon.png -- 1.19kb -> 0.88kb (25.86%)
/src/vs/workbench/parts/extensions/electron-browser/media/theme-icon.png -- 9.90kb -> 7.42kb (25.1%)
/extensions/php-language-features/icons/logo.png -- 10.85kb -> 8.99kb (17.13%)
/extensions/gulp/images/gulp.png -- 7.36kb -> 6.20kb (15.8%)
/extensions/merge-conflict/resources/icons/merge-conflict.png -- 2.47kb -> 2.10kb (14.96%)
/extensions/jake/images/cowboy_hat.png -- 43.85kb -> 41.67kb (4.98%)
2018-11-06 20:46:03 +00:00
Joao Moreno
9c4b3954c2
update snapcraft.yaml
2018-11-06 16:16:35 +00:00
Joao Moreno
e840e83ff9
set executable bits
2018-11-06 15:08:02 +00:00
Joao Moreno
29a6e3d3ca
Merge remote-tracking branch 'origin/master' into tyriar/snap
2018-11-04 13:58:08 +01:00
Miguel Solorio
3ace1898e7
Update file icons to use file type icon in small views
2018-10-11 11:49:15 -07:00
Martin Aeschlimann
9588b6fe87
Launching "code" from git bash fails with "cannot find module" error. Fixes #58950
2018-10-03 10:22:37 +02:00
Dick van den Brink
1adea8bd02
Fixed warning when installing on debian 8
...
Message in console:
Setting up code-insiders (1.28.0-1537855491) ...
/usr/share/applications/code-insiders-url-handler.desktop: warning: key "MimeType" is a list and does not have a semicolon as trailing character, fixing
2018-09-26 01:23:57 +02:00
Jay Rodgers
299b111bbf
Adding missed dependency libxss1
...
In releasing for Chromebook I'm working on a minimal installation, so the base distribution has less packages pre-installed.
libxss1 is both a compile-time and run-time dependency, which would appear to have been missed (on my system it causes run-time errors if it's not present, due to the absence of libXss.so.1). I would expect this to cause the same issue on other minimal Debian installations.
2018-09-23 13:47:21 +01:00
Segev Finer
c0895eb214
Merge remote-tracking branch 'upstream/master' into shell-completions
2018-09-22 19:48:51 +03:00
Miguel Solorio
94f40a180e
Update file icons to show logo on small versions ( #58986 )
2018-09-20 07:40:10 +02:00
Benjamin Pasero
a181a96d1c
Provide file icons per file type ( #58795 )
...
* first cut icons per file type (for #4845 )
* update icon set
* update distro
* tweaks
* update distro
2018-09-17 11:09:47 +02:00
Segev Finer
cecaba689a
Merge in upstream changes to the Zsh completion script
...
def92fc006
2018-09-13 22:24:17 +03:00
João Moreno
a5c6208343
Merge pull request #56943 from jats22/46123
...
Fix #46123 : Remove absolute path for python
2018-09-13 14:33:28 +02:00
Joao Moreno
0ac298f773
replace url protocol in code-url-handler
2018-09-13 11:14:47 +02:00
sandilya
84b3ef6b58
Fix #46123 : Remove absolute path for python
2018-08-22 01:49:22 +05:30
Segev Finer
8f83890068
Add URL handler support for Linux desktops
...
Fixes #48528
2018-08-18 04:56:34 +03:00
Segev Finer
ccceaa2f52
Automatically install Bash and Zsh completions in deb/rpm
2018-08-17 14:21:23 +03:00
Segev Finer
20d5a6bb25
Add Bash completion script
2018-08-17 14:21:23 +03:00
Segev Finer
7c6b5eba5a
Update Zsh completion script
...
Adding new options and updating help text to be closer to the commands
help text.
2018-08-17 14:21:22 +03:00
Segev Finer
9bcb083b48
Add Zsh completion script from Zsh sources
...
Originally from:
https://github.com/zsh-users/zsh/blob/master/Completion/X/Command/_code
2018-08-17 14:21:22 +03:00
Christof Marti
025d7e6eeb
Include epoch ( #55008 )
2018-07-31 15:27:42 +02:00
Daniel Imms
2f12e41343
Require libnss3 >= 3.26 to match Chromium
2018-07-25 06:38:03 -07:00
Daniel Imms
5dc414cbc9
Revert "Merge pull request #54854 from Microsoft/revert-52782-electron-2.0.x"
...
This reverts commit 90fc7e66e2
, reversing
changes made to 3b25417fa2
.
2018-07-23 07:34:16 -07:00
Sandeep Somavarapu
1dc23e548e
Revert "Update to Electron 2.0.x"
2018-07-23 10:58:49 +02:00
Benjamin Pasero
9459d2aae0
Update to Electron 2.0.x
2018-06-25 09:32:06 +02:00
Benjamin Pasero
e47a9c9eef
revert electron 2.0.x update
2018-06-25 09:28:34 +02:00
Benjamin Pasero
e7d29e9ccc
Electron v2.0.0 ( #48290 )
...
* Update to Electron 2.0-beta.7
* back to exploration build
* fix compile errors
* workaround build issue (go back to 1.24.0)
* bump to 1.25.0
* use electron 2.0.2
* revert custom distro
2018-06-08 18:32:49 +02:00
Daniel Imms
005666c43e
Merge pull request #44945 from 0xabu/wsl-cli-fix
...
enable CLI when invoked from WSL on modern (RS4) hosts
2018-05-15 07:26:32 -07:00
Benjamin Pasero
1aa0bb83bc
Revert "Require gtk 3 on Linux"
...
This reverts commit 2e6a761f8c
.
2018-04-20 17:22:30 +02:00
Daniel Imms
2e6a761f8c
Require gtk 3 on Linux
...
Part of #47158
2018-04-13 11:42:58 -07:00
Daniel Imms
9f2511fa8a
Merge remote-tracking branch 'origin/master' into tyriar/snap
2018-03-18 08:13:43 -07:00
Daniel Imms
9d75305b7f
Add fix for EACCES socket error
...
Fixes #44758
2018-03-05 10:06:04 -08:00
Daniel Imms
474568c55b
Merge remote-tracking branch 'origin/master' into tyriar/snap
2018-03-05 10:03:33 -08:00
Joao Moreno
12ab70d329
fix line endings
2018-03-05 12:47:11 +01:00
Andrew Baumann
8505dcc469
enable CLI when invoked from WSL on modern (RS4) hosts
...
Fixes issue #39892
There's one minor gotchya: this script tests for a modern WSL release
(which supports the WSLENV feature) using the existence of
/bin/wslpath. Per https://docs.microsoft.com/en-us/windows/wsl/release-notes ,
wslpath was added in build 17046 but WSLENV is only supported in
the subsequent build (17063). Both those builds were only shipped as
Windows insider builds, so this test should be safe enough.
2018-03-02 11:17:03 -08: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
79b79309ce
Call a script on update
2018-02-08 09:09:12 -08:00
Daniel Imms
90385c778b
Remove post-refresh hook
2018-02-07 11:13:50 -08:00
Daniel Imms
d9fd598afd
Fix post refresh hook to use electron-launch
2018-02-02 12:04:27 -08:00
Daniel Imms
648a5b0869
Fix post refresh hook
2018-02-02 10:26:26 -08:00
Daniel Imms
79786dcdf2
Add a test post refresh hook
2018-02-01 18:23:17 -08:00
Daniel Imms
2d1b17d100
Include more stage packages in snap
2018-01-31 18:01:56 -08:00
Daniel Imms
195aa35bb3
Remove unnecessar snap deps
2018-01-31 16:06:19 -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