Skip to content

bug: Duplicate log entries when disabling patches via -d flag #23

@98xe

Description

@98xe

Bug description

Manually disabling patches by patch name sometimes causes the console to output the same line twice. For example, I've noticed it happen with Theme and GmsCore support, but not with Seekbar and Downloads.

-d "GmsCore support" -d "Theme" -d "Downloads" -d "Seekbar"

INFO: Loading patches
INFO: Decoding app manifest
INFO: "Change package name" disabled
INFO: "Theme" disabled manually
INFO: "GmsCore support" disabled manually
INFO: "Downloads" disabled manually
INFO: "Seekbar" disabled manually
INFO: "Theme" disabled manually
INFO: "GmsCore support" disabled manually
INFO: Setting patch options
INFO: Deleting existing temporary files directory
INFO: Decoding resources
INFO: Executing patches
INFO: "Alternative thumbnails" succeeded
INFO: "Auto captions" succeeded

Specifying a patch with its index will show the correct output.

--di 15 --di 57

INFO: Loading patches
INFO: Decoding app manifest
INFO: "Change package name" disabled
INFO: "GmsCore support" disabled manually
INFO: "Theme" disabled manually
INFO: Setting patch options
INFO: Deleting existing temporary files directory
INFO: Decoding resources
INFO: Executing patches
INFO: "Alternative thumbnails" succeeded
INFO: "Auto captions" succeeded
INFO: "Bypass URL redirects" succeeded
INFO: "Bypass image region restrictions" succeeded
INFO: "Change form factor" succeeded

--

morphe-cli-1.0.0-all.jar
patches-1.2.1-dev.2.mpp

Error logs

Solution

No response

Additional context

No response

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.

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