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
var path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
#endif
path = TextUtility.AssureEnds(path, "\\", false);
path = TextUtility.AssureEnds(path, "/", false);
temp = new Class<string>(path);
_AppPath = temp;
}

Loading…
Cancel
Save