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

相对路径不支持 找上一层目录吗? #34

Closed
fcying opened this issue Dec 12, 2018 · 8 comments
Closed

相对路径不支持 找上一层目录吗? #34

fcying opened this issue Dec 12, 2018 · 8 comments

Comments

@fcying
Copy link

fcying commented Dec 12, 2018

试了下 ..\\dir 上级目录找不到
找当前目录下的可以 .\\dir

@rexdf
Copy link
Owner

rexdf commented Dec 12, 2018

确实目前没法相对到CommandTrayHost所在目录的上层,不过我已经想到了修复办法,但是暂时没有时间,也许周末可以看看。

@rexdf rexdf closed this as completed in a05cf46 Dec 12, 2018
rexdf added a commit that referenced this issue Dec 12, 2018
@rexdf
Copy link
Owner

rexdf commented Dec 12, 2018

有空试下新版本

@fcying
Copy link
Author

fcying commented Dec 13, 2018

试了下新版本的
path 还是不支持上一层目录, cmd 可以支持上一层目录运行
测试配置
不能运行

            "path": "..\\hfs",
            "cmd": "hfs.exe",

可以运行

            "path": "",
            "cmd": "..\\hfs\\hfs.exe",

@rexdf
Copy link
Owner

rexdf commented Dec 13, 2018

理论上上面那个应该也能运行才对,等周末再修复吧

@rexdf rexdf reopened this Dec 13, 2018
@rexdf rexdf closed this as completed in 7b6ca3b Dec 13, 2018
rexdf added a commit that referenced this issue Dec 13, 2018
@rexdf
Copy link
Owner

rexdf commented Dec 13, 2018

这次应该是真的修复了。

@fcying
Copy link
Author

fcying commented Dec 14, 2018

额...更新后 结果刚好反过来了...
path能用, cmd不能用了@_@

@rexdf rexdf pinned this issue Dec 15, 2018
rexdf added a commit that referenced this issue Dec 15, 2018
rexdf added a commit that referenced this issue Dec 15, 2018
rexdf added a commit that referenced this issue Dec 15, 2018
rexdf added a commit that referenced this issue Dec 15, 2018
@rexdf
Copy link
Owner

rexdf commented Dec 15, 2018

可以确认下最新版了

@fcying
Copy link
Author

fcying commented Dec 16, 2018

最新版本工作正常~~ 感谢~~

@rexdf rexdf unpinned this issue Dec 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants