mirror of
https://github.com/tonytins/tomas.git
synced 2025-06-25 10:04:43 -04:00
.NET 6 quality of life changes to Tomas.Common
- Split and simplified version details - Raw commit hash is now a build number based on that hash
This commit is contained in:
parent
69fcc9c776
commit
a029d8d4d9
13 changed files with 81 additions and 79 deletions
|
@ -1,7 +1,5 @@
|
|||
// I license this project under the BSD 3-Clause license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cosmos.System.FileSystem;
|
||||
using Cosmos.System.FileSystem.VFS;
|
||||
using Tomas.Common;
|
||||
|
@ -23,7 +21,7 @@ class TomFS
|
|||
Console.WriteLine("Creating system files.");
|
||||
fs.CreateFile($"{SYSTEM_DIR}sysinfo.txt");
|
||||
Console.WriteLine("Setting system preferences.");
|
||||
File.WriteAllText($"{SYSTEM_DIR}sysinfo.txt", $"{ComConsts.NAME}, {ComConsts.VersionGit}");
|
||||
File.WriteAllText($"{SYSTEM_DIR}sysinfo.txt", $"{ComConsts.NAME}, {ComConsts.BuildNumber}");
|
||||
Console.WriteLine("File system loaded sucesfully.");
|
||||
var intro = File.ReadAllText($"{SYSTEM_DIR}sysinfo.txt");
|
||||
Console.WriteLine(intro);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue