/programs/cmm/downloader/dl.c |
---|
70,8 → 70,8 |
if (id==BTN_EXIT) { StopDownloading(); ExitProcess(); } |
if (id==BTN_START) StartDownloading(); |
if (id==BTN_STOP) StopDownloading(); |
if (id==BTN_DIR) RunProgram("/sys/File managers/Eolite", #filepath); |
if (id==BTN_RUN) RunProgram("/sys/@open", #filepath); |
if (id==BTN_DIR) { RunProgram("/sys/File managers/Eolite", #filepath); ExitProcess(); } |
if (id==BTN_RUN) { RunProgram("/sys/@open", #filepath); ExitProcess(); } |
} |
void ProcessKeyPress() |
236,11 → 236,33 |
} |
if (!exit_param) notify(#notify_message); |
if (!strcmpi(#filepath+strlen(#filepath)-4, ".zip")) |
|| (!strcmpi(#filepath+strlen(#filepath)-3, ".7z")) { |
Unarchive(#filepath); |
} |
if (open_file) ProcessButtonClick(BTN_RUN); |
if (autoclose.checked) ExitProcess(); |
} |
void Unarchive(dword _arc) |
{ |
char folder_name[4096]; |
strcpy(#folder_name, "/tmp0/1/Downloads/"); |
strcpy(#folder_name, #filepath+strrchr(#filepath, '/')); |
folder_name[strlen(#folder_name)-4] = '\0'; |
CreateDir(#folder_name); |
strcpy(#param, "-o \""); |
strcat(#param, #folder_name); |
strcat(#param, "\" -h \""); |
strcat(#param, #filepath); |
chrcat(#param, '\"'); |
RunProgram("/sys/unz", #param); |
} |
/* |
struct TIME |
{ |
/programs/cmm/eolite/include/icons.h |
---|
21,7 → 21,7 |
default_icon=2; |
} |
if (chrnum(file_path, '/')==2) { |
if (ESBYTE[file_path+1]!='k') && (chrnum(file_path, '/')==2) { |
if (ESBYTE[file_path+1]=='/') ext[0] = ESBYTE[file_path+2]; |
else ext[0] = ESBYTE[file_path+1]; |
ext[1] = '\0'; |
/programs/cmm/lib/obj/proc_lib.h |
---|
41,6 → 41,6 |
}; |
char communication_area_name[] = "FFFFFFFF_open_dialog"; |
char open_dialog_path[] = "/rd/1/File managers/opendial"; |
char open_dialog_path[] = "/sys/File managers/opendial"; |
#endif |
/programs/cmm/misc/osupdate.c |
---|
122,10 → 122,10 |
dword GetFreeSpaceOfRamdisk() |
{ |
dword rdempty = malloc(1440*1024); |
CreateFile(0, 1440*1024, rdempty, "/rd/1/rdempty"); |
CreateFile(0, 1440*1024, rdempty, "/sys/rdempty"); |
free(rdempty); |
rdempty = get_file_size("/rd/1/rdempty"); |
DeleteFile("/rd/1/rdempty"); |
rdempty = get_file_size("/sys/rdempty"); |
DeleteFile("/sys/rdempty"); |
return rdempty; |
} |
184,7 → 184,7 |
} else { |
copyf("/sys", #backup); |
copyf(#latest, "/sys"); |
if (keep_settings.checked) copyf(#backup_settings, "/rd/1/settings"); |
if (keep_settings.checked) copyf(#backup_settings, "/sys/settings"); |
if (restart_apps.checked) RestartAllProcess(); |
install_complete = true; |
} |
/programs/develop/libraries/microtar/example/read.asm |
---|
66,7 → 66,7 |
mtar_read_header, 'mtar_read_header', \ |
mtar_write_data, 'mtar_write_data', \ |
mtar_finalize, 'mtar_finalize', \ |
mtar_close, 'mtar_finalize' |
mtar_close, 'mtar_close' |
import libc, \ |
printf, 'printf' |
/programs/develop/libraries/microtar/example/write.asm |
---|
62,7 → 62,7 |
mtar_write_file_header, 'mtar_write_file_header', \ |
mtar_write_data, 'mtar_write_data', \ |
mtar_finalize, 'mtar_finalize', \ |
mtar_close, 'mtar_finalize' |
mtar_close, 'mtar_close' |
IM_END: |
align 4 |
/programs/fs/unz/make_es.bat |
---|
File deleted |
\ No newline at end of file |
/programs/fs/unz/free.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/programs/fs/unz/minus.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/programs/fs/unz/plus.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/programs/fs/unz/ok.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/programs/fs/unz/file_tree.inc |
---|
131,13 → 131,13 |
imgFree: |
file 'free.raw' |
; file 'pic/free.raw' |
imgOk: |
file 'ok.raw' |
; file 'pic/ok.raw' |
imgMinus: |
file 'minus.raw' |
; file 'pic/minus.raw' |
imgPlus: |
file 'plus.raw' |
; file 'pic/plus.raw' |
i_end: |
readFolder dd rdFoldforTree ;äãªæ¨ï, ª®â®à®© ç¨â ¥âáï ¯ ¯ª |
/programs/fs/unz/pic/free.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/fs/unz/pic/minus.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/fs/unz/pic/ok.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/fs/unz/pic/plus.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |