Subversion Repositories Kolibri OS

Rev

Rev 5487 | 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\kolibri.h"
3
#include "..\lib\strings.h"
4
#include "..\lib\file_system.h"
5
#include "..\lib\mem.h"
6
#include "..\lib\copyf.h"
7
 
5548 leency 8
#include "..\lib\patterns\restart_process.h"
9
 
4114 leency 10
#include "add_appl_dir.c";
4113 leency 11
 
5055 leency 12
?define T_END "\'Установка KolibriN успешно завершена.\' -O"
13
?define T_LESS_RAM "Мало свободной оперативной памяти. Могут возникнуть проблемы"
4113 leency 14
 
15
void main()
16
{
4407 leency 17
	mem_Init();
4113 leency 18
	SetAddApplDir("kolibrios", abspath("kolibrios")+1);
5152 leency 19
	RunProgram("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
5055 leency 20
	copyf(abspath("tmp"), "/tmp0/1");
5487 leency 21
	copyf(abspath("sys"), "/sys");
5548 leency 22
	RestartProcessByName("@icon", MULTIPLE);
23
	RestartProcessByName("@taskbar", SINGLE);
24
	RestartProcessByName("@docky", SINGLE);
25
	notify(T_END);
5055 leency 26
	ExitProcess();
4113 leency 27
}
28
 
29
void copyf_Draw_Progress(dword filename) { return; }
30
 
31
 
32
stop: