{"id":20652091,"url":"https://github.com/elixir-desktop/libpe","last_synced_at":"2025-04-18T13:14:23.795Z","repository":{"id":57516348,"uuid":"434293360","full_name":"elixir-desktop/libpe","owner":"elixir-desktop","description":"Library and tasks to read and update Windows PE file resources","archived":false,"fork":false,"pushed_at":"2024-03-05T09:00:02.000Z","size":809,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T06:22:15.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elixir-desktop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-02T16:22:43.000Z","updated_at":"2025-03-26T00:26:33.000Z","dependencies_parsed_at":"2023-11-08T11:38:43.222Z","dependency_job_id":"2b0ef6a3-1906-4709-a4ff-64ccbe4dce8d","html_url":"https://github.com/elixir-desktop/libpe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-desktop%2Flibpe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-desktop%2Flibpe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-desktop%2Flibpe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-desktop%2Flibpe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elixir-desktop","download_url":"https://codeload.github.com/elixir-desktop/libpe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249496698,"owners_count":21281705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T17:32:20.345Z","updated_at":"2025-04-18T13:14:23.771Z","avatar_url":"https://github.com/elixir-desktop.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LibPE\n\n[![Module Version](https://img.shields.io/hexpm/v/libpe.svg)](https://hex.pm/packages/libpe)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/libpe/)\n[![Total Download](https://img.shields.io/hexpm/dt/libpe.svg)](https://hex.pm/packages/libpe)\n[![License](https://img.shields.io/hexpm/l/libpe.svg)](https://github.com/elixir-desktop/libpe/blob/master/LICENSE.md)\n[![Last Updated](https://img.shields.io/github/last-commit/elixir-desktop/libpe.svg)](https://github.com/elixir-desktop/libpe/commits/master)\n\nLibrary and mix tasks to read and update Windows PE file resources. Based on https://docs.microsoft.com/en-us/windows/win32/debug/pe-format\n\n*Only tested/needed with .exe files so far.*\n\n## Example Usage\n\nTo check an existing PE file (.exe)\n\n```bash\n  mix pe.checksum \u003cfilename.exe\u003e\n```\n\nTo update the checksum:\n\n```bash\n  mix pe.update \u003cfilename.exe\u003e\n```\n\nTo list all resources in a file:\n\n```bash\n  mix pe.dump \u003cfilename.exe\u003e\n```\n\nTo set an icon resource (and update the checksum):\n\n```bash\n  mix pe.update --set-icon \u003cicon.png\u003e \u003cfilename.exe\u003e\n```\n\n\n\n## Installation\n\nTo add LibPE to your build steps and make the tasks availabe add `libpe` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:libpe, \"~\u003e 1.0.0\", only: :dev, runtime: false}\n  ]\nend\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-desktop%2Flibpe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felixir-desktop%2Flibpe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-desktop%2Flibpe/lists"}