Example/HardwareInfo: Fix generated file
Former-commit-id: 52bf3fe6fae3381602479acc4c3eff893ce1bd2f [formerly 6ee9d195ce38bf504de0c9b56be4efe0878c2fa4] [formerly c5b7e5223a061866b3dbaa5ba90a4f22b8af66dd [formerly a8ebb981b3161b7610b1f62dbeaace151cc92d54]] Former-commit-id: 8a13ef79c41673716f8ddce6b9085f69e38ee429 [formerly a6b9c3201bc80717308147b42b082b5a4d0260cf] Former-commit-id: 8f4ca3784b3ce027eea7a6b69e2418aef02824ee
This commit is contained in:
parent
576c7c3f5d
commit
40763370b9
|
|
@ -10,6 +10,9 @@ tests/*.dll
|
|||
tests/*.so
|
||||
lib/*
|
||||
|
||||
# Example generated files
|
||||
examples/bin/HardwareInfo.txt
|
||||
|
||||
# Feature page
|
||||
build/scripts/features/index.html
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ int main()
|
|||
|
||||
std::cout << oss.str() << std::endl;
|
||||
|
||||
Nz::File reportFile("RapportNz::HardwareInfo.txt");
|
||||
Nz::File reportFile("HardwareInfo.txt");
|
||||
if (reportFile.Open(Nz::OpenMode_Text | Nz::OpenMode_Truncate | Nz::OpenMode_WriteOnly))
|
||||
{
|
||||
reportFile.Write(oss.str()); // Conversion implicite en Nz::String
|
||||
|
|
|
|||
Loading…
Reference in New Issue