Skip to content

Different return of filepath & cwd when using electron-packager to package an App #175

Description

@hzlzh

We are using gulp-usemin in our WeFlow at tree 1.4.0 just found that wrong values returned after packaged(using electron-packager) it into an App, here is some more details:

Before packaging (Under developing)
All the paths are correct as we hope and the App goes well.

2 pic

After packaged (Released as app)
Both of filepath and cwd values are wrong and case the App down.

3 pic

BTW, we'd met nearly the same kind of problem with another repo: gulp-rev-all#issue-152 here, you may read for the reference.
Since that repo's author did not show up for a long time, we can only fix it and push it as a new fork repo here: weflow-rev-all 😢

Any idea with this problem?

If any other information is needed, just let me know :)

node v5.10.0
electron v0.37.8

"electron-packager": "^7.0.3",
"gulp-usemin": "^0.3.23",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions