2018-10-01 16:41:14 +00:00
|
|
|
#define MEMSIZE 4096*15
|
2013-10-27 11:59:02 +00:00
|
|
|
#include "..\lib\strings.h"
|
|
|
|
#include "..\lib\mem.h"
|
2015-08-03 12:18:27 +00:00
|
|
|
#include "..\lib\io.h"
|
2013-10-27 11:59:02 +00:00
|
|
|
#include "..\lib\copyf.h"
|
|
|
|
|
2015-03-25 11:46:22 +00:00
|
|
|
#include "..\lib\patterns\restart_process.h"
|
2018-10-01 16:41:14 +00:00
|
|
|
//#include "..\lib\added_sysdir.c";
|
2013-10-27 11:59:02 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2018-10-01 16:41:14 +00:00
|
|
|
//SetAdditionalSystemDirectory("kolibrios", abspath("install/kolibrios")+1);
|
|
|
|
io.run("/sys/tmpdisk", "a0");
|
|
|
|
pause(50);
|
2015-08-02 15:15:15 +00:00
|
|
|
|
2015-08-23 13:06:45 +00:00
|
|
|
io.del("/sys/docpack");
|
2018-10-01 16:41:14 +00: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 10:10:47 +00:00
|
|
|
ExitProcess();
|
2013-10-27 11:59:02 +00:00
|
|
|
}
|
|
|
|
|
2018-10-01 16:41:14 +00:00
|
|
|
void Operation_Draw_Progress(dword filename) { debug("copying: "); debugln(filename); }
|
2013-10-27 11:59:02 +00:00
|
|
|
|
|
|
|
stop:
|