Closed vstumpf closed 3 years ago
The alternative is to have relative_path
as the path into the grf, and a source_path
variable pointing to the real path on the system:
# Definition of the actual patch content
entries:
- relative_path: data\sclientinfo.xml
source_path: data-release\sclientinfo.xml
@vstumpf Thanks for the PR!
Yeah I felt another field would eventually be needed. I like the idea of an optional grf_path
field to specify the destination in the final archive.
I think you should update the example patch definition file to show that feature exists.
Other than that, I'll gladly merge 👍
Perfect, thanks!
I'd like a way to change the path of the file I want to add to the generated .thor file.
For example, if this is my client directory:
data/sclientinfo.xml
is my development file, it has a server connection to localhost instead of the release server.data-release/sclientinfo.xml
is the file I want to be merged into the grf.I'd like to add an option to the patch definition file,
grf_path
, that will be the path used to write into the thor file, like so: