From fd2bea9b8155c0536fc2b2f55e1aeb0059772403 Mon Sep 17 00:00:00 2001 From: Elivo Date: Thu, 24 Apr 2025 14:06:49 +0800 Subject: [PATCH] =?UTF-8?q?RuntimeUtility=EF=BC=9A=E5=8E=BB=E9=99=A4=20App?= =?UTF-8?q?licationPath=20=E6=9C=AB=E5=B0=BE=E7=9A=84=E6=96=9C=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Apewer/RuntimeUtility.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Apewer/RuntimeUtility.cs b/Apewer/RuntimeUtility.cs index 8d6a069..836cf7e 100644 --- a/Apewer/RuntimeUtility.cs +++ b/Apewer/RuntimeUtility.cs @@ -797,6 +797,8 @@ namespace Apewer #else var path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase; #endif + path = TextUtility.AssureEnds(path, "\\", false); + path = TextUtility.AssureEnds(path, "/", false); temp = new Class(path); _AppPath = temp; }