Open hzlzh opened 8 years ago
I have the same issue.
The way to fixed this issue is change tool.js
Line 27~31
var join_path = function (directory, filename) {
return Path.join(directory, filename).replace(/^[a-z]:\\/i, '/').replace(/\\/g, '/');
};
to
var join_path = function (directory, filename) {
return Path.join(directory, filename).replace(/\\/g, '/');
};
For now, we forked and re-write this for WeFlow use, https://github.com/littledu/weflow-rev-all. @loo2k 's Fix also worked and a PR merge of this should be best.
Since so many PR is not merged, @smysnk do you still support this open repo?
-- Updated --
We are using
gulp-rev-all
in our Electron App WeFlow, and we found a bug under Windows which can be re-appear like this:F:\WeFlow\WeFlow.exe
;C:\User\xxx\Dektop\WeFlow_workspace\
gulp-rev-all
F:\User\xxx\Dektop\WeFlow_workspace\
which should beC:\
notF:\
base path
into path withoutC:\
?For more information please check out this screenshot below.
Green block:
Purple Block
Red Block: ( Wrong path, the correct one should be
C:\
)