* chore: bump electron@43.4.1
* linux: align desktop name and StartupWMClass
Give DEB and RPM installs a package owned reverse DNS desktop name
so runtime wayland portal identity resolves to an installed desktop file.
Keep snap and archive runtime identities aligned with their distribution
specific desktop file behavior.
Set StartupWMClass to the same identity used by the runtime.
* linux: respect native window controls layout
Reserve both left and right WCO safe areas so custom title bar content
does not overlap controls when the desktop environment places them on
either side.
* dialogs: preserve native locations
Electron 43 defaults native dialogs without a defaultPath to the
Downloads directory instead of allowing the platform to retain its
last location. Resolve existing file or folder history before
invoking native open and save dialogs, while preserving an explicit
caller-provided URI.
* protocol: migrate from deprecated handlers
Replace deprecated registerFileProtocol, registerBufferProtocol,
registerHttpProtocol, and interceptFileProtocol APIs with protocol.handle().
* test: migrate unit test protocol handler
* chore: remove obsolete WebSQL preferences
Electron 43 removes WebSQL and its enableWebSQL web preference.
* fix: wco position for windows
* protocol: avoid exposing managed resource errors
* test: preserve file URLs in protocol handler
* test: adopt worker parent identifiers in CDP golden
Electron 43 target lifecycle payloads include parentId and
parentFrameId for worker targets.
* build: support V8 headers with GCC 12
* test: use platform native dialog paths
* build: install custom electron headers
* build: bootstrap electron headers in compile job
* build: bootstrap Electron headers for Alpine and web
* chore: bump electron@43.5.1
* chore: revert system fontconfig init workaround
* temp: bump distro
* chore: bump electron@43.6.0
* test: skip Dev Container agent host smoke test for exploration
The exploration update channel serves an outdated agent host server that
does not include the bundled Copilot CLI, causing the smoke test to time out.
* chore: bump distro
This software is not a plain text editor, and it's definitely not a file manager.
Advertising compatibility with such overrides default OS handlers on many distributions, unnecessarily.
* linux - remove `--no-sandbox` flag
We should not disable sandbox on Linux.
We only added this to support running on Kernel <= 3.8 where setuid sandbox is used.
* fix ci
* add some docs
* 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
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
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".
.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