kolibrios-gitea/programs/cmm/installer/installer.c

32 lines
878 B
C
Raw Normal View History

#define MEMSIZE 0xA1000
#include "..\lib\kolibri.h"
#include "..\lib\strings.h"
#include "..\lib\file_system.h"
#include "..\lib\mem.h"
#include "..\lib\copyf.h"
#include "..\lib\patterns\restart_process.h"
#include "add_appl_dir.c";
?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>"
void main()
{
mem_Init();
SetAddApplDir("kolibrios", abspath("kolibrios")+1);
RunProgram("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
copyf(abspath("tmp"), "/tmp0/1");
copyf(abspath("sys"), "/sys");
RestartProcessByName("@icon", MULTIPLE);
RestartProcessByName("@taskbar", SINGLE);
RestartProcessByName("@docky", SINGLE);
notify(T_END);
ExitProcess();
}
void copyf_Draw_Progress(dword filename) { return; }
stop: