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

LibGUI, About: Implement system-wide W2k-esque About dialog

The new About dialog reads version information from /res/version.ini,
which is generated at build time.
This commit is contained in:
Nick Vella 2020-05-24 14:26:33 +00:00 committed by Andreas Kling
parent 0d5b43552d
commit e53fa97cfb
6 changed files with 74 additions and 87 deletions

View file

@ -106,6 +106,11 @@ chmod 4750 mnt/bin/shutdown
echo "done"
printf "writing version file... "
GIT_HASH=$( (git log --pretty=format:'%h' -n 1 | head -c 7) || true )
printf "[Version]\nMajor=1\nMinor=0\nGit=%s\n" "$GIT_HASH" > mnt/res/version.ini
echo "done"
printf "installing users... "
mkdir -p mnt/root
mkdir -p mnt/home/anon