Skip to content

v1.1.1

Choose a tag to compare

@jphilbert jphilbert released this 19 Nov 16:05
· 24 commits to master since this release

Fixed issue if using as a replacement to ShimGen.exe in Chocolately. Chocolately uses relative paths for the source exec (see below), however they are relative to ShimGen.exe not the current directory. This fix now expands relative paths from the current directory first and if not found, expands from the path of shim_exec.exe. If the latter path is found, it has the added effect of expanding the output path from shim_exec.exe if it is also relative. Otherwise, the behavior is as in v1.1.0.

The particular Chocolately code is found in ShimGenerationService.cs.

var argsForPackage = args.Replace(PathToken, file.Replace(ApplicationParameters.InstallLocation, "..\\")).Replace(OutputToken, shimLocation).Replace(IconPathToken, file);

Full Changelog: v1.1.0...v1.1.1