Skip to content

Issues with ZYPAK_LD_PRELOAD persistence #42

Description

@MeguminSama

I'm using ZYPAK_LD_PRELOAD to hook an electron executable for use in my mod loader library https://github.com/meguminsama/electron-hook https://github.com/meguminsama/moonlight-launcher

Unfortunately, it looks like it only works initially, because zypak is unsetenving LD_PRELOAD after the initial startup, so it's not persisted across multiple processes, as most electron apps do.

To fix this, I have a workaround where I hook unsetenv to re-insert my LD_PRELOAD. It would be great if this could be fixed in zypak itself though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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