2013-10-27 12:59:02 +01:00
|
|
|
|
#define MEMSIZE 0xA1000
|
|
|
|
|
#include "..\lib\strings.h"
|
|
|
|
|
#include "..\lib\mem.h"
|
2015-08-03 14:18:27 +02:00
|
|
|
|
#include "..\lib\io.h"
|
2013-10-27 12:59:02 +01:00
|
|
|
|
#include "..\lib\copyf.h"
|
|
|
|
|
|
2015-03-25 12:46:22 +01:00
|
|
|
|
#include "..\lib\patterns\restart_process.h"
|
|
|
|
|
|
2013-10-27 13:05:04 +01:00
|
|
|
|
#include "add_appl_dir.c";
|
2013-10-27 12:59:02 +01:00
|
|
|
|
|
2014-08-23 12:10:47 +02:00
|
|
|
|
?define T_END "\'<EFBFBD><EFBFBD>⠭<EFBFBD><EFBFBD><EFBFBD><EFBFBD> KolibriN <20>ᯥ譮 <20><><EFBFBD><EFBFBD><EFBFBD>襭<EFBFBD>.\' -O"
|
|
|
|
|
?define T_LESS_RAM "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <><E1A2AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>⨢<EFBFBD><E2A8A2><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E0AEA1><EFBFBD><EFBFBD>"
|
2013-10-27 12:59:02 +01:00
|
|
|
|
|
|
|
|
|
void main()
|
|
|
|
|
{
|
2015-08-02 17:15:15 +02:00
|
|
|
|
|
2015-08-22 19:38:33 +02:00
|
|
|
|
SetAddApplDir("kolibrios", abspath("install/kolibrios")+1);
|
2015-08-03 14:18:27 +02:00
|
|
|
|
io.run("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
|
2015-08-22 19:38:33 +02:00
|
|
|
|
copyf(abspath("install/sys"), "/sys");
|
2015-03-25 12:46:22 +01:00
|
|
|
|
RestartProcessByName("@icon", MULTIPLE);
|
|
|
|
|
RestartProcessByName("@taskbar", SINGLE);
|
|
|
|
|
RestartProcessByName("@docky", SINGLE);
|
|
|
|
|
notify(T_END);
|
2015-08-03 14:18:27 +02:00
|
|
|
|
io.run("/sys/tmpdisk", "a0s10");
|
|
|
|
|
pause(50);
|
2015-08-22 19:38:33 +02:00
|
|
|
|
copyf(abspath("install/tmp"), "/tmp0/1");
|
2014-08-23 12:10:47 +02:00
|
|
|
|
ExitProcess();
|
2013-10-27 12:59:02 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void copyf_Draw_Progress(dword filename) { return; }
|
|
|
|
|
|
|
|
|
|
stop:
|