-
Notifications
You must be signed in to change notification settings - Fork 28.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix_minimap_slider
- Loading branch information
Showing
315 changed files
with
5,742 additions
and
2,647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
disturl "https://electronjs.org/headers" | ||
target "22.3.14" | ||
ms_build_id "21893604" | ||
target "22.3.17" | ||
ms_build_id "22432899" | ||
runtime "electron" | ||
build_from_source "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023-06-12T12:55:48.130Z | ||
2023-07-20T13:31:34.746Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# To workaround the issue of yarn not respecting the registry value from .npmrc | ||
yarn config set registry "$NPM_REGISTRY" | ||
|
||
if [ -z "$CC" ] || [ -z "$CXX" ]; then | ||
# Download clang based on chromium revision used by vscode | ||
curl -s https://raw.githubusercontent.com/chromium/chromium/108.0.5359.215/tools/clang/scripts/update.py | python - --output-dir=$PWD/.build/CR_Clang --host-os=linux | ||
|
||
# Download libcxx headers and objects from upstream electron releases | ||
DEBUG=libcxx-fetcher \ | ||
VSCODE_LIBCXX_OBJECTS_DIR=$PWD/.build/libcxx-objects \ | ||
VSCODE_LIBCXX_HEADERS_DIR=$PWD/.build/libcxx_headers \ | ||
VSCODE_LIBCXXABI_HEADERS_DIR=$PWD/.build/libcxxabi_headers \ | ||
VSCODE_ARCH="$npm_config_arch" \ | ||
node build/linux/libcxx-fetcher.js | ||
|
||
# Set compiler toolchain | ||
# Flags for the client build are based on | ||
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/108.0.5359.215:build/config/arm.gni | ||
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/108.0.5359.215:build/config/compiler/BUILD.gn | ||
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/108.0.5359.215:build/config/c++/BUILD.gn | ||
export CC=$PWD/.build/CR_Clang/bin/clang | ||
export CXX=$PWD/.build/CR_Clang/bin/clang++ | ||
export CXXFLAGS="-nostdinc++ -D__NO_INLINE__ -I$PWD/.build/libcxx_headers -isystem$PWD/.build/libcxx_headers/include -isystem$PWD/.build/libcxxabi_headers/include -fPIC -flto=thin -fsplit-lto-unit -D_LIBCPP_ABI_NAMESPACE=Cr" | ||
export LDFLAGS="-stdlib=libc++ -fuse-ld=lld -flto=thin -L$PWD/.build/libcxx-objects -lc++abi -Wl,--lto-O0" | ||
export VSCODE_REMOTE_CC=$(which gcc) | ||
export VSCODE_REMOTE_CXX=$(which g++) | ||
fi | ||
|
||
for i in {1..5}; do # try 5 times | ||
yarn --frozen-lockfile --check-files && break | ||
if [ $i -eq 3 ]; then | ||
echo "Yarn failed too many times" >&2 | ||
exit 1 | ||
fi | ||
echo "Yarn failed $i, trying again..." | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.