Repository navigation
v1.1.1
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