Rev 5807 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5807 | Rev 6250 | ||
---|---|---|---|
1 | #define MEMSIZE 0xA1000 |
1 | #define MEMSIZE 0xA1000 |
2 | #include "..\lib\strings.h" |
2 | #include "..\lib\strings.h" |
3 | #include "..\lib\mem.h" |
3 | #include "..\lib\mem.h" |
4 | #include "..\lib\io.h" |
4 | #include "..\lib\io.h" |
5 | #include "..\lib\copyf.h" |
5 | #include "..\lib\copyf.h" |
6 | 6 | ||
7 | #include "..\lib\patterns\restart_process.h" |
7 | #include "..\lib\patterns\restart_process.h" |
8 | - | ||
9 | #include "add_appl_dir.c"; |
8 | #include "..\lib\added_sysdir.c"; |
10 | 9 | ||
11 | ?define T_END "\'áâ ®¢ª KolibriN ãá¯¥è® § ¢¥àè¥ .\' -O" |
10 | ?define T_END "\'áâ ®¢ª KolibriN ãá¯¥è® § ¢¥àè¥ .\' -O" |
12 | ?define T_LESS_RAM " «® ᢮¡®¤®© ®¯¥à ⨢®© ¯ ¬ïâ¨. ®£ãâ ¢®§¨ªãâì ¯à®¡«¥¬ë" |
11 | ?define T_LESS_RAM " «® ᢮¡®¤®© ®¯¥à ⨢®© ¯ ¬ïâ¨. ®£ãâ ¢®§¨ªãâì ¯à®¡«¥¬ë" |
13 | 12 | ||
14 | void main() |
13 | void main() |
15 | { |
14 | { |
16 | 15 | ||
17 | SetAddApplDir("kolibrios", abspath("install/kolibrios")+1); |
16 | SetAdditionalSystemDirectory("kolibrios", abspath("install/kolibrios")+1); |
18 | io.run("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png"); |
17 | io.run("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png"); |
19 | io.del("/sys/docpack"); |
18 | io.del("/sys/docpack"); |
20 | copyf(abspath("install/sys"), "/sys"); |
19 | copyf(abspath("install/sys"), "/sys"); |
21 | RestartProcessByName("@icon", MULTIPLE); |
20 | RestartProcessByName("@icon", MULTIPLE); |
22 | RestartProcessByName("@taskbar", SINGLE); |
21 | RestartProcessByName("@taskbar", SINGLE); |
23 | RestartProcessByName("@docky", SINGLE); |
22 | RestartProcessByName("@docky", SINGLE); |
24 | notify(T_END); |
23 | notify(T_END); |
25 | io.run("/sys/tmpdisk", "a0s10"); |
24 | io.run("/sys/tmpdisk", "a0s10"); |
26 | pause(50); |
25 | pause(50); |
27 | copyf(abspath("install/tmp"), "/tmp0/1"); |
26 | copyf(abspath("install/tmp"), "/tmp0/1"); |
28 | ExitProcess(); |
27 | ExitProcess(); |
29 | } |
28 | } |
30 | 29 | ||
31 | void Operation_Draw_Progress(dword filename) { return; } |
30 | void Operation_Draw_Progress(dword filename) { return; } |
32 | 31 | ||
33 | stop: |
32 | stop: |