Browse Source

RuntimeUtility:去除 ApplicationPath 末尾的斜杠

master
王厅 1 month ago
parent
commit
fd2bea9b81
  1. 2
      Apewer/RuntimeUtility.cs

2
Apewer/RuntimeUtility.cs

@ -797,6 +797,8 @@ namespace Apewer
#else #else
var path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase; var path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
#endif #endif
path = TextUtility.AssureEnds(path, "\\", false);
path = TextUtility.AssureEnds(path, "/", false);
temp = new Class<string>(path); temp = new Class<string>(path);
_AppPath = temp; _AppPath = temp;
} }

Loading…
Cancel
Save