Rev 7422 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7422 | leency | 1 | #define MEMSIZE 4096*15 |
4113 | leency | 2 | #include "..\lib\strings.h" |
3 | #include "..\lib\mem.h" |
||
4 | #include "..\lib\copyf.h" |
||
5 | |||
7654 | leency | 6 | #include "..\lib\obj\libini.h" |
7 | |||
5548 | leency | 8 | #include "..\lib\patterns\restart_process.h" |
9 | |||
4113 | leency | 10 | void main() |
11 | { |
||
7654 | leency | 12 | //#include "..\lib\added_sysdir.c"; |
7422 | leency | 13 | //SetAdditionalSystemDirectory("kolibrios", abspath("install/kolibrios")+1); |
7654 | leency | 14 | |
15 | load_dll(libini, #lib_init,1); |
||
16 | ini_set_int stdcall ("/sys/settings/taskbar.ini", "Flags", "Attachment", 0); |
||
17 | copyf(abspath("settings"), "/sys/settings"); |
||
5651 | pavelyakov | 18 | |
7654 | leency | 19 | RestartProcessByName("/sys/@icon", MULTIPLE); |
20 | RestartProcessByName("/sys/@taskbar", SINGLE); |
||
21 | RestartProcessByName("/sys/@docky", SINGLE); |
||
7422 | leency | 22 | |
7654 | leency | 23 | RunProgram("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/Free yourself.jpg"); |
7422 | leency | 24 | |
5055 | leency | 25 | ExitProcess(); |
4113 | leency | 26 | } |
27 | |||
7422 | leency | 28 | void Operation_Draw_Progress(dword filename) { debug("copying: "); debugln(filename); } |
4113 | leency | 29 | |
30 | stop: |