CMM: Intaller, KolibriN runner update, upload libini.h

git-svn-id: svn://kolibrios.org@5152 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2014-10-30 23:35:25 +00:00
parent aea40e6984
commit 0be6fd256d
3 changed files with 27 additions and 19 deletions

View File

@ -12,28 +12,10 @@
void main()
{
int i;
proc_info Process;
mem_Init();
if (GetFreeRAM()/1024<15) notify(T_LESS_RAM);
for (i=0; i<1000; i++;)
{
GetProcessInfo(#Process, i);
if (strcmpi(#Process.name, "@icon")==0) KillProcess(Process.ID);
if (strcmpi(#Process.name, "@docky")==0) KillProcess(Process.ID);
}
SetAddApplDir("kolibrios", abspath("kolibrios")+1);
RunProgram("/sys/REFRSCRN", NULL);
copyf(abspath("sys"), "/rd/1");
RunProgram("/sys/launcher", NULL);
SetSystemSkin("/kolibrios/res/skins/Yeah.skn");
RunProgram("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
notify(T_END);
DeleteFile("/sys/3d/free3d04");
DeleteFile("/sys/games/invaders");
RunProgram("/sys/tmpdisk", "a0s10");
pause(10);
copyf(abspath("tmp"), "/tmp0/1");
ExitProcess();
}

View File

@ -14,6 +14,7 @@ void main()
signed int result;
mem_Init();
pause(200);
GetDir(#dirbuf, #fcount, "/", DIRS_ONLYREAL);
for (i=0; i<fcount; i++)

View File

@ -0,0 +1,25 @@
dword libini = #alibini;
char alibini[] = "/sys/lib/libini.obj";
dword lib_init = #alib_init;
dword ini_enum_sections = #aini_enum_sections;
dword ini_enum_keys = #aini_enum_keys;
dword ini_get_str = #aini_get_str;
dword ini_get_int = #aini_get_int;
//dword ini_get_color = #aini_get_color;
dword ini_set_str = #aini_set_str;
dword ini_set_int = #aini_set_int;
//dword ini_set_color = #aini_set_color;
//dword ini_get_shortcut = #aini_get_shortcut;
$DD 2 dup 0
char alib_init[] = "lib_init";
char aini_enum_sections[] = "ini_enum_sections";
char aini_enum_keys[] = "ini_enum_keys";
char aini_get_str[] = "ini_get_str";
char aini_get_int[] = "ini_get_int";
char aini_set_str[] = "ini_set_str";
char aini_set_int[] = "ini_set_int";
//char aini_get_shortcut[] = "ini_get_shortcut";
//char aini_get_color[] = "ini_get_color";
//char aini_set_color[] = "ini_set_color";