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.
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.
* Fix: Fixed glibc version detection bug in check-requirements-linux.sh
- Existing detection scripts simply use the `awk` command to record the version number in the `libstdc++.so` filename,
- but in some specific versions of glibc++, the detailed version number is not indicated in the filename,
- so we need to use a script to read the current version of GLIBCXX in the environment to see if it meets the expectations.
Co-authored-by: chengy-sysu <939416532@qq.com>
* Update check-requirements-linux.sh
fix Indent
* fix: Using grep and sed to replace strings command
Since some Linux distributions do not come with GNU binutils pre-installed,
the `strings` command does not fit on all platforms,
so we use `grep` and `sed` instead of `strings`.
Co-authored-by: chengy-sysu <939416532@qq.com>
* fix: boundary case of check-requirements-linux.sh
Co-authored-by: chengy-sysu <939416532@qq.com>
* fix: Using grep and sed to replace strings command
Since some Linux distributions do not come with GNU binutils pre-installed,
the `strings` command does not fit on all platforms,
so we use `grep` and `sed` instead of `strings`.
Co-authored-by: chengy-sysu <939416532@qq.com>
* fix: skip glibcxx check on alpine
---------
Co-authored-by: chengy-sysu <939416532@qq.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* fix: add linux library dependency check for remote server
* chore: add faq link
* chore: move to separate file for reuse
* chore: add option to skip check
* fix: check
* fix: package path
* fix: don't forget to exit main script
* 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>
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>