forked from KolibriOS/kolibrios
2ec87d22f7
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
37 lines
888 B
C
37 lines
888 B
C
#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:
|