mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
3a33e6baaf
Rename all .CC files to .ZC extension.
52 lines
1,022 B
HolyC
Executable file
52 lines
1,022 B
HolyC
Executable file
//Place this file in /Home and change
|
|
//anything you want.
|
|
|
|
//This file is executed by the
|
|
//first terminal window upon start-up.
|
|
//See $LK,"Once",A="FF:~/HomeSys.ZC,Once"$ and $LK,"Home Files",A="FF:::/Doc/GuideLines.DD,/Home Files"$.
|
|
|
|
//Delete the rest from this file.
|
|
|
|
U0 Tmp()
|
|
{
|
|
OnceExe;
|
|
switch (sys_boot_src.u16[0])
|
|
{
|
|
case BOOT_SRC_ROM:
|
|
"Continue booting hard drive ";
|
|
if (YorN)
|
|
{
|
|
DocBottom;
|
|
ExeFile("C:/Home/Once");
|
|
}
|
|
break;
|
|
case BOOT_SRC_DVD:
|
|
"\nIf you answer 'No' you can play with\n"
|
|
"the live CD without installing.\n\n"
|
|
"Install onto hard drive ";
|
|
|
|
if (YorN)
|
|
{
|
|
DocBottom;
|
|
RunFile("::/Misc/OSInstall",, TRUE);
|
|
}
|
|
if (FileFind("::/Misc/Tour"))
|
|
{
|
|
"\nTake Tour";
|
|
if (YorN) {
|
|
DocBottom;
|
|
Cd("::/Misc/Tour");
|
|
InFile("Tour");
|
|
}
|
|
}
|
|
break;
|
|
case BOOT_SRC_HARDDRIVE:
|
|
case BOOT_SRC_RAM:
|
|
"\n$$PURPLE$$$$TX+CX,\"Tips of the Day\"$$$$FG$$\n";
|
|
TipOfDay;Yield;
|
|
TipOfDay;
|
|
Type("::/Doc/Customize.DD");
|
|
break;
|
|
}
|
|
}
|
|
Tmp;
|