Skip to content

Isolate mainExecutableFile error to runAfter#20

Open
stretchkennedy wants to merge 3 commits into
mmckegg:masterfrom
stretchkennedy:isolate-mainExecutableFile-error-to-runAfter
Open

Isolate mainExecutableFile error to runAfter#20
stretchkennedy wants to merge 3 commits into
mmckegg:masterfrom
stretchkennedy:isolate-mainExecutableFile-error-to-runAfter

Conversation

@stretchkennedy

@stretchkennedy stretchkennedy commented Apr 7, 2021

Copy link
Copy Markdown

The CustomAction LaunchedInstalledExe refers to a FileKey for a non-existent file, mainExecutableFile. Since it's only necessary for supporting --run-after, this commit stops it being defined unless runAfter is truthy.

This is not a fix for the underlying issue! However, it isolates the problem to users of --run-after, which has other bugs that make it hard to test, so it's a good interim fix.

Also fixes some whitespace formatting that mixed tabs and spaces.

See #19 for more details.

The CustomAction LaunchedInstalledExe refers to a FileKey for a
non-existent file, mainExecutableFile. Since it's only necessary
for supporting --run-after, this commit stops it being defined
unless runAfter is truthy.

This is not a fix for the underlying issue! However, it isolates
the problem to users of --run-after, which has other bugs that make
it hard to test, so it's a good interim fix.
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