From ec3ec92496e02f794efc9dff3413bacaae432dc5 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Sun, 15 Nov 2026 18:48:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(desktop):=20Core=20=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=94=B9=E5=88=B0=20Lithe-core-rust#56=20?= =?UTF-8?q?=E7=9A=84=E5=90=88=E5=85=A5=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #1975 固定的 268d9a2 是 #55 分支头,没有进 Core main:#55 squash 合入时只带了 adapterArguments(4a2ecb3),cwd ← target.directory 由 #56 补进 main(9425469)。 两者代码与 268d9a2 一致,这里把固定版本改到 main 上的提交,并更新注释。 --- scripts/desktop/build-desktop-core.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/desktop/build-desktop-core.sh b/scripts/desktop/build-desktop-core.sh index 359d19ae1f..4c44076853 100755 --- a/scripts/desktop/build-desktop-core.sh +++ b/scripts/desktop/build-desktop-core.sh @@ -28,13 +28,13 @@ native_path() { } PINNED_CORE_REPOSITORY="https://github.com/Lithe-IDEA/Lithe-core-rust.git" -# Lithe-core-rust #55, the head of its branch until it is merged: a debug configuration's -# targetBindings.adapterArguments fills arguments only that adapter defines from a path fact of -# the target, dotted like a connection destination, with env. adding one variable to -# the environment (Delve's dlvCwd and env.PWD, so go build runs in the package's directory), and -# targetBindings.cwd may read target.directory so the program runs there too rather than in the -# workspace root the debug engine gives a launch without cwd. It is -# on top of #54, squash-merged into main as dce448d: workbench.notifications.reduceReadState keeps +# Lithe-core-rust #56, squash-merged into main as 9425469: targetBindings.cwd may read +# target.directory, so a debugged program runs in its source file's directory rather than in the +# workspace root the debug engine gives a launch without cwd. It is on top of #55, squash-merged +# into main as 4a2ecb3: a debug configuration's targetBindings.adapterArguments fills arguments +# only that adapter defines from a path fact of the target, dotted like a connection destination, +# with env. adding one variable to the environment (Delve's dlvCwd and env.PWD, so go +# build runs in the package's directory). It is on top of #54, squash-merged into main as dce448d: workbench.notifications.reduceReadState keeps # the unread notifications and their count, which the desktop does not call yet. It is on top of # Lithe-core-rust #53, squash-merged into main as c550c2b: a plugin declares commandInstallers that # install the commands its systemCommand launches need with an injected tool, and Core expands @@ -117,7 +117,7 @@ PINNED_CORE_REPOSITORY="https://github.com/Lithe-IDEA/Lithe-core-rust.git" # the contract, plugin guides, reference and SDKs live only in shared/plugins; on top of #16 (reported Git queries folded in the console), # #15 (git.write cherryPick, revert and reset fields), #14 (word-level changed ranges of diff # rows), #13, #8, #7, #6 and #4. -PINNED_CORE_REVISION="268d9a2937a6d49708a05ba36c98562c79e5119c" +PINNED_CORE_REVISION="9425469bdaa5a8195d9cdf5e9f440165c9e79810" PROFILE="debug" while [[ $# -gt 0 ]]; do case "$1" in