From 0be6fd256de793c77177360b1ce4a5ef192660f3 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 30 Oct 2014 23:35:25 +0000 Subject: [PATCH] CMM: Intaller, KolibriN runner update, upload libini.h git-svn-id: svn://kolibrios.org@5152 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/installer/installer.c | 20 +------------------- programs/cmm/kolibrin/kolibrin.c | 1 + programs/cmm/lib/lib.obj/libini.h | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 19 deletions(-) create mode 100644 programs/cmm/lib/lib.obj/libini.h diff --git a/programs/cmm/installer/installer.c b/programs/cmm/installer/installer.c index 62a6dc578a..af7d73429b 100644 --- a/programs/cmm/installer/installer.c +++ b/programs/cmm/installer/installer.c @@ -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(); } diff --git a/programs/cmm/kolibrin/kolibrin.c b/programs/cmm/kolibrin/kolibrin.c index 0796e66b36..a1d358759f 100644 --- a/programs/cmm/kolibrin/kolibrin.c +++ b/programs/cmm/kolibrin/kolibrin.c @@ -14,6 +14,7 @@ void main() signed int result; mem_Init(); + pause(200); GetDir(#dirbuf, #fcount, "/", DIRS_ONLYREAL); for (i=0; i