Sergio Schvezov
d4da28357f
snap launcher: avoid exporting XDG_CACHE_HOME
...
Exporting XDG_CACHE_HOME affects applications launched from within
the context of code.
Rename it to GDK_CACHE_DIR and do not export it. Also test for
existence before creating to avoid shelling out to mkdir if not
needed.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:26:57 -03:00
Sergio Schvezov
a100802412
snap launcher: fix quoting in script
...
Avoid any potential issue with globbing or word splitting.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:23:26 -03:00
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
Daniel Imms
dfee0337a5
Merge branch 'master' into fix-executable-bits
2019-10-09 15:16:07 -07:00
Niklas Mollenhauer
1cc0b592c2
Remove executable bits from non-executable files
2019-10-08 15:18:42 +02:00
Jonas Platte
c109bf77ac
linux/bin/code.sh: use command -v instead of which
2019-10-08 14:02:44 +02:00
Benjamin Pasero
da76f05e7a
electron - revert to Electron 4
2019-09-30 14:55:17 +02:00
Martin Aeschlimann
798e32cb83
code.sh: pipe error still printed. For https://github.com/microsoft/vscode-remote-release/issues/1420
2019-09-19 16:15:13 +02:00
Benjamin Pasero
afde7913eb
build - set no-sandbox everywhere ( #81096 )
2019-09-18 13:55:03 +02:00
Martin Aeschlimann
945d678d36
uv_pipe_open error when starting code-insiders from WSL microsoft/vscode-remote-release#1420
2019-09-17 18:06:55 +02:00
João Moreno
ab10e26096
Fixes #80702 ( #80705 )
2019-09-11 13:31:42 +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
navrkald
08580a4671
Skip WLS check if env var DONT_PROMPT_WSL_INSTALL is set.
2019-09-08 13:19:51 +02:00
Martin Aeschlimann
68c1123b33
Code-insiders started from WSL doesn't return to console/ doesn't connect Fixes microsoft/vscode-remote-release#1369
2019-09-06 10:46:53 +02:00
Martin Aeschlimann
587c673c7f
wsl2 workaround no longer necessary
2019-09-03 17:51:53 +02:00
Martin Aeschlimann
df880b0434
Workaround for broken WSL2 in Win build 18947. For #77898
2019-08-23 15:36:14 +02:00
Aidan Dang
34daff0fd7
Fix trivial zsh completion typo
2019-08-19 14:27:05 +10:00
Miguel Solorio
44a48f75d6
Add installer assets for OSS ( #79045 )
2019-08-15 06:38:47 +02:00
Joao Moreno
280be12a3a
fix zsh completions
2019-08-07 14:51:00 +02:00
Joao Moreno
a4e350f76f
Merge commit 'refs/pull/66181/head' of github.com:microsoft/vscode into pr/66181
2019-08-07 11:56:18 +02:00
Martin Aeschlimann
49b51b32b2
Run wslCode with electron (fixes vscode-remote-release#914)
2019-07-30 11:41:14 +02:00
Logan Ramos
b4734e8524
Filter extensions by category ( #77306 )
...
* Revert commit change
* Revert commit change
* Revert commit change
* Revert commit change
* Revert commit change
* Revert commit change
* Provide option to filter by category
* ignore casing
* Remove unwanted build change
2019-07-23 07:29:35 -07:00
Martin Aeschlimann
e40623fcb7
Revert "Failure to launch VSCode from WSL2. Fixes microsoft/vscode-remote-release#914"
...
This reverts commit 0288def891
.
2019-07-23 09:17:05 +02:00
Martin Aeschlimann
0f90403c57
windows/code.sh: convert to sh
2019-07-16 17:05:57 +02:00
Martin Aeschlimann
0288def891
Failure to launch VSCode from WSL2. Fixes microsoft/vscode-remote-release#914
2019-07-16 12:21:46 +02:00
Robert Ancell
05ceb5e8ac
snapcaft.yaml: Set the AppStream ID in the Snap metadata
...
This allows software store to recognise this snap matches Visual Studio Code in
other formats (.deb, .rpm, Flatpak etc). It also means reviews on ODRS are
grouped together.
2019-07-02 10:19:28 +12:00
Logan Ramos
4a69a71065
Telemetry Command ( #76029 )
...
* Added telemetry command
* Initial Build support
* Added build logic for telemetry
* Linux Builds
* Windows builds sort of work
* Remove arm telemetry extraction
* Remove alpine telemetry extraction
* Remove accidental s
* More try catch
2019-06-24 18:47:12 -07:00
Martin Aeschlimann
99ebdaa7dc
Code-insiders started from WSL doesn't return to console/ doesn't connect. Fixes microsoft/vscode-remote-release#780
2019-06-24 18:10:47 +02:00
Matt Bierner
247d61f4f1
Remove log uploader
...
Fixes #75748
2019-06-20 10:27:36 -07:00
Martin Aeschlimann
769e5d2ad2
win code.sh fix
2019-06-20 16:50:29 +02:00
Martin Aeschlimann
3bffb1561c
code doesn't open in remote-wsl under WSL2. For microsoft/vscode-remote-release#714
2019-06-19 11:44:02 +02:00
Benjamin Pasero
73643c60a6
Update to Electron 4.0.x ( #73119 )
...
* Bump electron@4.0.0-beta.9
* electron 4 - temporarily warn about exploration change
* update to Electron 4.0.0 stable
* remove electron 4 notification
* bump to electron@4.0.1
* electron 4: adopt format change of "version" file
* build - set to use exploration image
* Revert "build - set to use exploration image"
This reverts commit 1bb280fc5e
.
* electron@4.0.2
* fix electron.d.ts
* update distro
* bump electron@4.0.4
* debt - adopt new process.getProcessMemoryInfo()
* update electron@4.0.5
* electron@4.0.6
* electron 4.0.x - remove Linux 32bit build
* electron@4.0.7
* electron - update to 4.1.2
* bump electron@4.1.4
* update build (remove Linux32)
* electron@4.1.5
* electron 4 - remove linux 32bit warning
* Remove more 32-bit Linux build stuff
Fixes #66271
* electron@4.2.0
* electron@4.2.1
* electron@4.2.2
* electron@4.2.3
* Revert "electron@4.2.3"
This reverts commit ae375ef764
.
* Revert "Revert "electron@4.2.3""
This reverts commit 513581ebc5
.
2019-06-04 10:50:10 +02:00
Martin Aeschlimann
ecf9a9f764
code.sh: add datafolder
2019-05-29 23:18:50 +02:00
Martin Aeschlimann
b331ec3386
code.sh for wsl: avoid cmd.
...
Fixes microsoft/vscode-remote-release#42
Fixes microsoft/vscode-remote-release#170
2019-05-23 12:46:09 +02:00
kieferrm
4237ce04c5
change publisher
2019-04-30 23:34:46 +00:00
XTY
e44a5ce145
Resolved regression in WSL launch script
2019-04-24 07:40:11 +08:00
Martin Aeschlimann
87fd1d4534
Strange console output when using WSL
2019-04-23 16:05:39 +02:00
Daniel Imms
12cb89c82e
Make sure Windows bash CLI works with spaces in user name
2019-04-19 09:46:57 -07:00
Martin Aeschlimann
0dc03a8281
code.cmd: don't use call as it substitites vars in arguments
2019-04-17 23:07:40 +02:00
Martin Aeschlimann
e146527fec
win/code.sh: falback when wslpath not present
2019-04-16 10:44:44 +02:00
Martin Aeschlimann
84b1474d09
Code Insiders latest update break the `code-insiders` commands inisde WSL. Fixes #72260
2019-04-15 16:11:31 +02:00
Martin Aeschlimann
f999a29671
add quality to win/code.sh
2019-04-12 14:58:29 +02:00
Martin Aeschlimann
b7ec5e8e6c
Use wsl ext
2019-04-11 09:58:18 +02:00
Martin Aeschlimann
d4fba1fa26
Warn about installing VS Code in WSL
2019-04-11 09:57:12 +02:00
Martin Wimpress
24e592c52c
snapcraft.yaml: Add the url-handler
2019-03-21 08:49:53 +00:00
Martin Wimpress
7f9406d777
snapcraft.yaml: Source Glib schemas from within the snap.
2019-03-21 08:49:05 +00:00
Martin Wimpress
d5c14c6300
snapcraft.yaml: Fallback to XWayland if running in a Wayland session
2019-03-21 08:48:23 +00:00
Martin Wimpress
e07c331459
snapcraft.yaml: Remove braces from ${SNAP} in command:
2019-03-21 08:47:13 +00:00
Martin Wimpress
73b7ed584f
snapcraft.yaml: Remove unnecessary data from the snap
2019-03-21 08:45:32 +00:00
Martin Wimpress
c134334c4c
snapcraft.yaml: Update stage-packages
...
Clean up the stage-packages: to drop any unnecessary libraries and ensure all required libraries to maintain ABI compatibility are bundled in the snap.
2019-03-21 08:44:47 +00:00