1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:27:45 +00:00

LibCore: Refactor a version-reading utility

`ArgsParser` and `AboutDialog` had the same procedure to read the
version from `/res/version.ini`. Now they use the `SERENITY_VERSION`
string by default.

This commit refactored the version-reading utility to the new
`Core::Version` namespace.
This commit is contained in:
Mahmoud Mandour 2021-08-29 11:54:59 +02:00 committed by Linus Groh
parent ad80d4dce0
commit 7742f37c10
3 changed files with 28 additions and 0 deletions

View file

@ -31,6 +31,7 @@ set(SOURCES
Timer.cpp
UDPServer.cpp
UDPSocket.cpp
Version.cpp
)
serenity_lib(LibCore core)