Subversion Repositories Kolibri OS

Rev

Rev 5651 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5651 Rev 5662
Line 1... Line 1...
1
#define MEMSIZE 0xA1000
1
#define MEMSIZE 0xA1000
2
#include "..\lib\kolibri.h"
-
 
3
#include "..\lib\strings.h"
2
#include "..\lib\strings.h"
4
#include "..\lib\file_system.h"
-
 
5
#include "..\lib\mem.h"
3
#include "..\lib\mem.h"
-
 
4
#include "..\lib\io.h"
6
#include "..\lib\copyf.h"
5
#include "..\lib\copyf.h"
Line 7... Line 6...
7
 
6
 
Line 8... Line 7...
8
#include "..\lib\patterns\restart_process.h"
7
#include "..\lib\patterns\restart_process.h"
Line 14... Line 13...
14
 
13
 
15
void main()
14
void main()
Line 16... Line 15...
16
{
15
{
17
 
16
 
18
	SetAddApplDir("kolibrios", abspath("kolibrios")+1);
-
 
19
	RunProgram("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
17
	SetAddApplDir("kolibrios", abspath("kolibrios")+1);
20
	copyf(abspath("tmp"), "/tmp0/1");
18
	io.run("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
21
	copyf(abspath("sys"), "/sys");
19
	copyf(abspath("sys"), "/sys");
22
	RestartProcessByName("@icon", MULTIPLE);
20
	RestartProcessByName("@icon", MULTIPLE);
23
	RestartProcessByName("@taskbar", SINGLE);
21
	RestartProcessByName("@taskbar", SINGLE);
-
 
22
	RestartProcessByName("@docky", SINGLE);
-
 
23
	notify(T_END);
-
 
24
	io.run("/sys/tmpdisk", "a0s10");
24
	RestartProcessByName("@docky", SINGLE);
25
	pause(50);
25
	notify(T_END);
26
	copyf(abspath("tmp"), "/tmp0/1");
Line 26... Line 27...
26
	ExitProcess();
27
	ExitProcess();
Line 27... Line -...
27
}
-
 
28
 
28
}
29
void copyf_Draw_Progress(dword filename) { return; }
29