From bec55e271bd1d042690a2503071361b70a778240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=B7=83=E9=9B=84?= <851046264@qq.com> Date: Tue, 12 Aug 2025 17:19:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/js/index.js b/src/main/resources/static/js/index.js index 56ded80..a664f2b 100644 --- a/src/main/resources/static/js/index.js +++ b/src/main/resources/static/js/index.js @@ -37,8 +37,8 @@ $(document).ready(function() { "--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED\n" + "--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED"; copyText(text) - .then((result) => { - alert(result); + .then(() => { + alert("VM options已复制成功"); }); }; From cca5321dca85d03488b88cdf51cf6f43dde1c25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=B7=83=E9=9B=84?= <851046264@qq.com> Date: Tue, 12 Aug 2025 17:26:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2eeabe5..df2abc7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,6 @@ FROM ibm-semeru-runtimes:open-21-jre WORKDIR /app COPY --from=build /app/target/Jetbrains-Help.jar Jetbrains-Help.jar ENV TZ=Asia/Shanghai -RUN ln -sf /usr/share/zoneinfo/{TZ} /etc/localtime && echo "{TZ}" > /etc/timezone +RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone EXPOSE 10768 ENTRYPOINT ["java", "-jar", "Jetbrains-Help.jar"] \ No newline at end of file