Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Windows平台下,部署app名称由小写s开头的应用会无法部署 #86

Open
flamefox opened this issue Jan 22, 2021 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@flamefox
Copy link
Contributor

flamefox commented Jan 22, 2021

原因在于这一行被替换了

string sStream = TC_Common::replace(tConf.tostr(), "\\s", " ");

因为在这一行之前,已经通过宏取到的

mMacro["basepath"] = TC_File::simplifyDirectory(_exePath) + FILE_SEP;

路径类似这样

C:\\tars-node-slave\\tarsnode\\data\\super.example\\bin\\

然后就被无情替换了变成

 C:\\tars-node-slave\\tarsnode\\data\ uper.example\\bin\\

从而导致解析错误部署失败

@ETZhangSX ETZhangSX added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Feb 8, 2021
@ruanshudong
Copy link
Contributor

可以改一下, 提交一个pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants