mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
Fixes #7090. Fixes #7091. While kmcomp loads most files just fine when paths with forward slashes are passed in, it fails to parse target path correctly when building one file out of a project. For example, if the user runs: ``` kmcomp.exe -t khmer_angkor.kmn release/k/khmer_angkor/khmer_angkor.kpj ``` Then the following error arises: ``` khmer_angkor.kps: Error: 0001 Validation error: The system cannot find the path specified. khmer_angkor.kps: Failure: Package C:\Projects\keyman\keyboards\source\khmer_angkor.kps had validation errors. ``` This patch ensures all paths passed in as command-line parameters are converted to backslashes, matching the expected Windows format. While I only needed to fix the `FParamTarget` parameter in order to address the reported issues, for consistency I applied the same fix to all input paths. |
||
|---|---|---|
| .. | ||
| icons.rc | ||
| kccompilekvk.pas | ||
| kccompilepackage.pas | ||
| kccompileproject.pas | ||
| Keyman.Developer.System.Project.ProjectLogConsole.pas | ||
| Keyman.Developer.System.ValidateRepoChanges.pas | ||
| kmcomp.dpr | ||
| kmcomp.dproj | ||
| kmcomp.res | ||
| kmcomp_Icon.ico | ||
| main.pas | ||
| Makefile | ||
| manifest.in | ||
| manifest.rc | ||
| version.rc | ||