Skip to content

feat: Add embed retry#2

Draft
DaveyJonesBitPail wants to merge 1 commit intomainfrom
feat/add-embed-retry
Draft

feat: Add embed retry#2
DaveyJonesBitPail wants to merge 1 commit intomainfrom
feat/add-embed-retry

Conversation

@DaveyJonesBitPail
Copy link
Owner

@DaveyJonesBitPail DaveyJonesBitPail commented Apr 4, 2025

This is a staging PR to prepare a PR for upstream

Background/Motivation: In certain environments modifying resources in PE files will fail on initial attempts due to interference from underlying systems. For example enterprise environments with aggressive defender profiles with the usage of Trusted DevDrives.

This change aims to allow configuration for retrying actual embedding of the generated type library as an opt-in, without changing default behavior.

  • retry attempts in TypeLibEmbedder
    • w/o swallowing exceptions
  • Configuration of retry behavior via CLI
  • Build task props changes to allow retry behavior modification

add quick and dirty retry logic
Add embed retry configuration
update readme and variable names
Adapt regular conversion w/ embed options
Add missing comma....
fix warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant