kolibrios/programs/cmm/installer/installer.c
Kirill Lipatov (Leency) cdc2991cc4 Appearance, Eolite, Installer: fixes
git-svn-id: svn://kolibrios.org@5767 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-23 13:06:45 +00:00

33 lines
920 B
C

#define MEMSIZE 0xA1000
#include "..\lib\strings.h"
#include "..\lib\mem.h"
#include "..\lib\io.h"
#include "..\lib\copyf.h"
#include "..\lib\patterns\restart_process.h"
#include "add_appl_dir.c";
?define T_END "\'“áâ ­®¢ª  KolibriN ãᯥ譮 § ¢¥à襭 .\' -O"
?define T_LESS_RAM "Œ «® ᢮¡®¤­®© ®¯¥à â¨¢­®© ¯ ¬ïâ¨. Œ®£ãâ ¢®§­¨ª­ãâì ¯à®¡«¥¬ë"
void main()
{
SetAddApplDir("kolibrios", abspath("install/kolibrios")+1);
io.run("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
io.del("/sys/docpack");
copyf(abspath("install/sys"), "/sys");
RestartProcessByName("@icon", MULTIPLE);
RestartProcessByName("@taskbar", SINGLE);
RestartProcessByName("@docky", SINGLE);
notify(T_END);
io.run("/sys/tmpdisk", "a0s10");
pause(50);
copyf(abspath("install/tmp"), "/tmp0/1");
ExitProcess();
}
void copyf_Draw_Progress(dword filename) { return; }
stop: