Commit Graph
266 Commits
Author SHA1 Message Date
72751c9adf fix: write key even if source exists (#312902)
Fixes #311713

---------

Co-authored-by: Copilot <copilot@github.com>
2026-04-29 19:22:51 +02:00
Raymond ZhaoGitHubCopilotCopilotcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
fda5c965e1 fix: post-install script doesn't check for existing sources (#311795)
* fix: post-install script doesn't check for existing sources

Co-authored-by: Copilot <copilot@github.com>

* Update resources/linux/debian/postinst.template

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: also scan Dir::Etc::sourcelist in has_existing_repo_source

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/b5d0d54b-bcba-40d2-ae60-e5c15f38e959

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

* fix: check our own managed files before has_existing_repo_source

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/a7ac5d3d-6a46-40a4-b04b-75aaa68fcea9

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-04-24 14:16:58 -07:00
RoboandGitHub 4927766313 chore: add srt sandbox dependencies to deb and rpm (#297819)
* chore: add srt sandbox dependencies to deb and rpm

* fix: move the depedency to recommends
2026-03-30 18:29:20 +09:00
RoboandGitHub fae32c4c21 fix: ci for snap builds (#280871) 2025-12-03 07:22:13 +00:00
RoboandGitHub c6bc106818 fix: snap crash on startup with wayland sessions (#280656) 2025-12-02 17:27:29 +00:00
Raymond ZhaoandGitHub d499211732 fix: switch everyone to DEB822 (#260171)
Fixes #259302
2025-08-06 11:52:08 -07:00
Raymond ZhaoandGitHub 70639634f3 fix: customize postinst by architecture (#259280)
Fixes #258886
2025-08-04 17:03:54 +00:00
Raymond ZhaoandGitHub 443a62813e fix: onboard Debian package onto new key (#256544) 2025-07-17 16:17:07 -07:00
Raymond ZhaoandGitHub 02f077ed29 Tidy up postinst script (#248334) 2025-05-07 14:41:37 -07:00
bhackandGitHub 76c064bd87 Add to new source format and the mandatory signed-by (#239390)
fixes #238697
2025-05-06 23:33:19 +00:00
João MorenoandGitHub a82ba894c6 Snap: Remove SUID from sandbox binary (#246307)
* debug

* remove SUID

* damn it

* remove unnecessary logs
2025-04-11 15:44:37 +02:00
Pavel PrchalandGitHub eecb98b9a2 Added localization to right-click on icon (#243679) 2025-03-17 18:11:00 +00:00
RoboandGitHub 79d2a4c826 fix: corrupted vsce dotnet binaries in rpm package (#238636) 2025-01-24 08:27:05 +01:00
Raymond ZhaoandGitHub 49bf27ee9a fix: interactive postinst script breaks install for non-interactive environments (#227837) 2024-10-31 07:50:41 -07:00
RoboandGitHub b62b4161a0 fix: font config detection for snap (#232713) 2024-10-31 19:27:30 +09:00
RoboandGitHub 4e7b53c5a0 chore: disable mime db creation in snap (#232129) 2024-10-24 03:39:28 -07:00
RoboandGitHub 2d28c0a79c fix: use the mime package from snap to generate db (#231119) 2024-10-11 16:56:43 +02:00
RoboandGitHub adac839773 ci: use sysroots for stripping binaries in rpmbuild (#227397) 2024-09-03 06:01:02 +02:00
Raymond ZhaoandGitHub 28ba9f5e58 fix: add postinst template conditions (#225097) 2024-08-07 17:00:39 -07:00
Matthias B.andGitHub cd340e6aa4 Fix: only add apt sources for users that want them (#22145) (#221285)
Signed-off-by: Matthias Breithaupt <m.breithaupt@vogl-electronic.com>
2024-08-06 14:54:05 -07:00
RoboandGitHub 4b19907cc8 fix[x11]: crash in gpu process with software compositor (#216661)
* fix[x11]: crash in gpu process with software compositor

* chore: bump distro
2024-06-20 07:02:04 +02:00
RoboandGitHub 3b80131054 chore: add missing gl libraries for snap (#215493)
* chore: add missing gl libraries for angle

* chore: add wayland egl library
2024-06-14 01:36:01 +02:00
RoboandGitHub 6facfe23b3 fix: snap packaging for argument parsing (#214560) 2024-06-07 09:45:12 +02:00
RoboandGitHub 6e6d38007e fix: force software gl backend for snap (#214548)
Refs https://github.com/microsoft/vscode/issues/212494

When using the default ANGLE gl/gles backend, v1.90 attempts
to get display refresh rate for vsync from an internal implementation
instead of using the gl extension EGL_CHROMIUM_sync_control,
this eventually ends up loading display info from XRandr and chromium
attempts to set a label for the data from the shipped resource pak
file that is not accessible to the gpu process triggering a SIGTRAP
in ui::ResourceBundle::GetSharedInstance.
2024-06-07 06:16:32 +02:00
Tony IvanovandGitHub f1c007109d Fixed #114425 prevent mime pollution on install (#209510)
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.
2024-04-17 20:42:51 +00:00
Raymond ZhaoandGitHub 0da22a2260 fix: deprecate unity-launch flag (#209471) 2024-04-04 15:18:19 -07:00
Francois MarierandGitHub 3d15752604 Use HTTPS for the apt repository (#203833) 2024-01-31 10:46:26 -08:00
RoboandGitHub 74ef67b4ab fix: update rpm release tag to el8 (#203770) 2024-01-30 07:09:47 +01:00
RoboandGitHub fb76955440 chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs https://github.com/electron/electron/commit/267cbc841eb97c1c768ea116352f7430968cb05d

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of https://github.com/electron/electron/commit/f842ead6bc627afdf5b945305abb3e1872b558ef

* chore: update distro
2024-01-09 08:33:34 +01:00
Connor PeetandGitHub 9bbc169b62 cli: a running code tunnel/serve-web subcommands as root (#200207)
Fixes #193932
2023-12-07 03:32:36 +01:00
Raymond ZhaoandGitHub 00a6c60eeb feat: add translations for renamed desktop action (#199241) 2023-11-28 00:34:36 +01:00
Jack NolddorandGitHub 3e7b108f16 fix: missing translation for new-empty-windows desktop action (#199129) 2023-11-27 22:08:13 +00:00
Raymond ZhaoandGitHub 4aaab19f69 Add update-desktop-database calls (#194645)
* Add update-desktop-database calls

* Fix symbol
2023-10-05 17:52:25 +09:00
João MorenoandGitHub a19614e8e2 fix build (#186470) 2023-06-28 09:29:16 +02:00
RoboandGitHub 42457bdb9f fix: snap env variables leaking into terminal env (#185834)
* fix: snap env variables leaking into terminal env

* chore: add spec
2023-06-22 21:52:08 +09:00
RoboandGitHub 9c8c21872a chore: disable portals for snap (#180238) 2023-04-18 18:52:06 +02:00
RoboandGitHub e7155a90da fix: glib schema generation for snaps (#179089) 2023-04-04 18:27:03 +09:00
RoboandGitHub b2a1932329 fix: gtk module search paths for snap (#177976) 2023-03-22 08:58:15 +01:00
RoboandGitHub 502ac5b213 ci: switch to core20 for snap (#127320)
* ci: switch to core20 for snap

* chore: update rpath of crashpad handler

* chore: remove unused exports
2023-03-08 18:14:55 -08:00
Raymond ZhaoandGitHub 7eb6452066 Add appdata.xml to rpm template (#172976)
Fixes #141092
2023-02-02 01:54:43 -08:00
357d14621c RPM packaging: Use standard macros (#153247)
* RPM spec: Use standard macros for paths/name

- Once `@@NAME@@` is replaced into the spec file as the `Name:`,
  it can be referenced with the RPM macro `%{name}`
- The installation directories corresponding to `/usr/bin/` and
  `/usr/share/` are defined in the RPM macros `%{_bindir}` and
  `%{_datadir}`

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
2022-08-03 16:16:33 -07:00
EvpokandGitHub dbae720630 Enable Wayland build for snaps (#156551)
Enable Wayland build
2022-07-30 03:59:55 +02:00
Raymond ZhaoandGitHub 8feb40b928 Generate dependencies per package build for Debian (#147335)
Fixes #13089
2022-07-19 10:43:05 -07:00
9c3b0bb9b4 RPM: Make /usr/bin/code owned by package (#142907)
Create the `/usr/bin/code` symlink during %install
so that the package owns and manages it.
Also, make it relative (for better relocatability).

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2022-07-06 00:13:06 +00:00
Raymond ZhaoandGitHub b1f1f98370 Add provides exclude for library files (#151043)
Fixes #150934
2022-06-14 11:23:53 -07:00
Martin AeschlimannandGitHub 07655f3a23 use remote cli when in remote terminal (#150372) 2022-05-25 16:21:16 +02:00
Raymond ZhaoandGitHub d572d6e9d1 Generate rpm dependencies (#143415)
* Commit non-py files

* Finish porting calculate and merge scripts for rpm

* Switch back to ts, add binaryDir

* Pass in app path

* Trim string before splitting

* Move files, apply PR feedback

* Add deps to exclude and crashpad handler dep

* polish
2022-03-18 13:57:25 +09:00
divinity76andGitHub 84ecd33bbc Fix error log when launching as root on linux (#137125)
Fix error log when launching as root on linux.
2022-02-10 08:55:47 -08:00
Daniel Imms 27e5924ff8 Remove from Utility catagory
This was from advice from the Raspberry Pi team as it causes the application to show
up in multiple menus on some desktop managers.
2022-01-13 06:44:24 -08:00
Alexandru DimaandGitHub e08e4d3fe1 Move --ms-enable-electron-run-as-node to a later location (#136786)
* Move `--ms-enable-electron-run-as-node` to a later location, which is not fatal in Electron builds that don't know it

* undo bad change
2021-11-09 15:11:12 -08:00