Skip to content

mar file created on Windows always has path seperator '\' in entries #15

@duanyao

Description

@duanyao

The mozilla updater program expects '/' as path seperator in mar file, or the update will fail, even on Windows. However, mar.py always create mar files with path seperator '' on Windows.

I think in this line

info.name = name or os.path.normpath(path)

should be

info.name = name or os.path.normpath(path).replace('\\', '/')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions