kolibrios/programs/cmm/kolibrin/kolibrin.c
Kirill Lipatov (Leency) 2ec87d22f7 C-- app updates
WebView 1.8b: 
- key scroll by up and down lists 12 pixels instead of 1
- open app with param when href="" contains '|' symbol, example: href="/sys/tmpdisk|a0"
Eolite 3.96b: 
- fix sorting
- an option to highlight odd lines
- copy path to clipboard by clicking on path bar
- rewrite the code related to device an folder update: so this change removed unnecessary refreshes
- add refresh when /kolibrios mounted
IconEdit 0.57b:
- improve color gradient block
- press Delete key when smth selected fill selection by color2 and resents selection
- impove window appearance when the dark skin is set
- fix a stupid but issue which made impossible to open non-square images
- fix an issue that wrong zoom number displayed
Notes 0.8: 
- reworking, work in progress
- delete binary
Sysmon 0.87:
- minor visible improvement in progress bars
TmpDisk 0.67a:
- deny users to shoot in the foot: show forbid message on /tmp0 deletion

git-svn-id: svn://kolibrios.org@7422 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-01 16:41:14 +00:00

37 lines
888 B
C
Raw Blame History

#define MEMSIZE 0x9000
#include "..\lib\strings.h"
#include "..\lib\mem.h"
#include "..\lib\fs.h"
void main()
{
dword dirbuf, fcount, filename, i;
dword dirbuf2, fcount2, filename2, j;
char drive_name[4096];
char install_path[4096];
pause(200);
GetDir(#dirbuf, #fcount, "/", DIRS_ONLYREAL);
for (i=0; i<fcount; i++)
{
strcpy(#drive_name, "/");
strcat(#drive_name, i*304+dirbuf+72);
if (!strcmp(#drive_name, "/fd")) continue;
free(dirbuf2);
GetDir(#dirbuf2, #fcount2, #drive_name, DIRS_ONLYREAL);
for (j=0; j<fcount2; j++)
{
sprintf(#install_path, "%s/%s/installer.kex", #drive_name, j*304+dirbuf2+72);
if (RunProgram(#install_path, NULL) > 0) ExitProcess();
}
}
notify("'KolibriN\n<EFBFBD>¥ ¬®£ã ­ ©â¨ installer.kex ­¨ ¢ ®¤­®¬ ª®à­¥ ¤¨áª !\n<EFBFBD>®¯à®¡ã©â¥ ­ ©â¨ ¨ § ¯ãáâ¨âì ¥£® ¢àãç­ãî.' -dtE");
ExitProcess();
}
stop: