mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-12-04 18:43:10 +01:00
Compare commits
4 Commits
b9184ba3d9
...
70827d6785
Author | SHA1 | Date | |
---|---|---|---|
|
70827d6785 | ||
|
4e9e019234 | ||
|
4e81ab7521 | ||
|
929801b242 |
@ -49,8 +49,7 @@
|
|||||||
|
|
||||||
Directory.CreateDirectory(Path.GetDirectoryName(userConfigFilePath));
|
Directory.CreateDirectory(Path.GetDirectoryName(userConfigFilePath));
|
||||||
|
|
||||||
using (var file = File.OpenWrite(userConfigFilePath))
|
using (var streamWriter = new StreamWriter(userConfigFilePath, append: false))
|
||||||
using (var streamWriter = new StreamWriter(file))
|
|
||||||
{
|
{
|
||||||
string serializedConfig = JsonConvert.SerializeObject(this.userConfig, Formatting.Indented);
|
string serializedConfig = JsonConvert.SerializeObject(this.userConfig, Formatting.Indented);
|
||||||
streamWriter.Write(serializedConfig);
|
streamWriter.Write(serializedConfig);
|
||||||
|
@ -186,6 +186,7 @@
|
|||||||
<Target Name="PostBuild" AfterTargets="Build">
|
<Target Name="PostBuild" AfterTargets="Build">
|
||||||
<Copy Condition="$(GameImagePath) != ''" SourceFiles="$(TargetPath)" DestinationFolder="$(GameImagePath)" SkipUnchangedFiles="true" />
|
<Copy Condition="$(GameImagePath) != ''" SourceFiles="$(TargetPath)" DestinationFolder="$(GameImagePath)" SkipUnchangedFiles="true" />
|
||||||
<Copy Condition="$(GameImagePath) != ''" SourceFiles="@(ReferenceCopyLocalPaths)" DestinationFolder="$(GameImagePath)" SkipUnchangedFiles="true" />
|
<Copy Condition="$(GameImagePath) != ''" SourceFiles="@(ReferenceCopyLocalPaths)" DestinationFolder="$(GameImagePath)" SkipUnchangedFiles="true" />
|
||||||
|
<Copy Condition="$(GameImagePath) != ''" SourceFiles="@(_ThisProjectItemsToCopyToOutputDirectory)" DestinationFolder="$(GameImagePath)" SkipUnchangedFiles="true" />
|
||||||
<CallTarget Condition="$(GIANTS_PATH) != ''" Targets="CopyTargetToGameFolder" />
|
<CallTarget Condition="$(GIANTS_PATH) != ''" Targets="CopyTargetToGameFolder" />
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue
Block a user