2018-10-01 18:41:14 +02:00
|
|
|
#define MEMSIZE 4096*15
|
2013-10-27 12:59:02 +01:00
|
|
|
#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"
|
2018-10-01 18:41:14 +02:00
|
|
|
//#include "..\lib\added_sysdir.c";
|
2013-10-27 12:59:02 +01:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2018-10-01 18:41:14 +02:00
|
|
|
//SetAdditionalSystemDirectory("kolibrios", abspath("install/kolibrios")+1);
|
|
|
|
io.run("/sys/tmpdisk", "a0");
|
|
|
|
pause(50);
|
2015-08-02 17:15:15 +02:00
|
|
|
|
2015-08-23 15:06:45 +02:00
|
|
|
io.del("/sys/docpack");
|
2018-10-01 18:41:14 +02:00
|
|
|
|
|
|
|
copyf(abspath("rd"), "/sys");
|
|
|
|
copyf(abspath("kos"), "/kolibrios");
|
|
|
|
copyf(abspath("tmp"), "/tmp0/1");
|
|
|
|
|
|
|
|
KillProcessByName("@icon", MULTIPLE);
|
|
|
|
KillProcessByName("@taskbar", SINGLE);
|
|
|
|
KillProcessByName("@docky", SINGLE);
|
|
|
|
|
|
|
|
RunProgram("/sys/@icon", NULL);
|
|
|
|
RunProgram("/sys/@taskbar", NULL);
|
|
|
|
RunProgram("/sys/@docky", NULL);
|
|
|
|
|
|
|
|
io.run("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/deink.png");
|
|
|
|
//notify("'KolibriNext\nInstall complete'-tO");
|
2014-08-23 12:10:47 +02:00
|
|
|
ExitProcess();
|
2013-10-27 12:59:02 +01:00
|
|
|
}
|
|
|
|
|
2018-10-01 18:41:14 +02:00
|
|
|
void Operation_Draw_Progress(dword filename) { debug("copying: "); debugln(filename); }
|
2013-10-27 12:59:02 +01:00
|
|
|
|
|
|
|
stop:
|