Subversion Repositories Kolibri OS

Rev

Rev 5767 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4113 leency 1
#define MEMSIZE 0xA1000
2
#include "..\lib\strings.h"
3
#include "..\lib\mem.h"
5662 leency 4
#include "..\lib\io.h"
4113 leency 5
#include "..\lib\copyf.h"
6
 
5548 leency 7
#include "..\lib\patterns\restart_process.h"
8
 
4114 leency 9
#include "add_appl_dir.c";
4113 leency 10
 
5055 leency 11
?define T_END "\'Установка KolibriN успешно завершена.\' -O"
12
?define T_LESS_RAM "Мало свободной оперативной памяти. Могут возникнуть проблемы"
4113 leency 13
 
14
void main()
15
{
5651 pavelyakov 16
 
5765 leency 17
	SetAddApplDir("kolibrios", abspath("install/kolibrios")+1);
5662 leency 18
	io.run("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
5767 leency 19
	io.del("/sys/docpack");
5765 leency 20
	copyf(abspath("install/sys"), "/sys");
5548 leency 21
	RestartProcessByName("@icon", MULTIPLE);
22
	RestartProcessByName("@taskbar", SINGLE);
23
	RestartProcessByName("@docky", SINGLE);
24
	notify(T_END);
5662 leency 25
	io.run("/sys/tmpdisk", "a0s10");
26
	pause(50);
5765 leency 27
	copyf(abspath("install/tmp"), "/tmp0/1");
5055 leency 28
	ExitProcess();
4113 leency 29
}
30
 
5807 punk_joker 31
void Operation_Draw_Progress(dword filename) { return; }
4113 leency 32
 
33
stop: