cmm move small aps into cmm/misc folder

git-svn-id: svn://kolibrios.org@7911 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-05-11 07:58:18 +00:00
parent 842c228f23
commit 27cb400814
35 changed files with 30 additions and 155 deletions

View File

@ -603,20 +603,20 @@ end -- tup.getconfig('NO_JWASM') ~= 'full'
if tup.getconfig('NO_CMM') ~= 'full' then
tup.append_table(img_files, {
{"APP_PLUS", PROGS .. "/cmm/app_plus/app_plus.com"},
{"EASYSHOT", PROGS .. "/cmm/easyshot/easyshot.com"},
{"EASYSHOT", PROGS .. "/cmm/misc/easyshot.com"},
{"MOUSECFG", PROGS .. "/cmm/mousecfg/mousecfg.com"},
{"BARSCFG", PROGS .. "/cmm/barscfg/barscfg.com"},
{"SYSPANEL", PROGS .. "/cmm/software_widget/software_widget.com"},
{"SYSPANEL", PROGS .. "/cmm/misc/software_widget.com"},
{"SYSMON", PROGS .. "/cmm/sysmon/sysmon.com"},
{"TXTREAD", PROGS .. "/cmm/txtread/txtread.com"},
{"TMPDISK", PROGS .. "/cmm/tmpdisk/tmpdisk.com"},
{"DEVELOP/CLIPVIEW", PROGS .. "/cmm/clipview/clipview.com"},
{"DEVELOP/MENU", PROGS .. "/cmm/menu/menu.com"},
{"DEVELOP/PIPET", PROGS .. "/cmm/pipet/pipet.com"},
{"DEVELOP/PIPET", PROGS .. "/cmm/misc/pipet.com"},
{"File Managers/EOLITE", PROGS .. "/cmm/eolite/Eolite.com"},
{"KF_VIEW", PROGS .. "/cmm/kf_font_viewer/font_viewer.com"},
{"GAMES/CLICKS", PROGS .. "/games/clicks/trunk/clicks.com"},
{"GAMES/MBLOCKS", PROGS .. "/cmm/mblocks/mblocks.com"},
{"GAMES/MBLOCKS", PROGS .. "/cmm/misc/mblocks.com"},
{"DEVELOP/DIFF", PROGS .. "/cmm/diff/diff.com"},
{"GAMES/FindNumbers", PROGS .. "/games/FindNumbers/trunk/FindNumbers"},
{"GAMES/FLOOD-IT", PROGS .. "/games/flood-it/trunk/flood-it.com"},

View File

@ -1,6 +0,0 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("Calypte.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "Calypte.com")

View File

@ -1,9 +0,0 @@
@echo #define LANG_ENG 1 >lang.h--
@del Calypte
cls
c-- Calypte.c
@rename Calypte.com Calypte
@del warning.txt
@del lang.h--
@pause

View File

@ -1,6 +0,0 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("easyshot.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "easyshot.com")

View File

@ -1,9 +0,0 @@
@del lang.h--
@echo #define LANG_ENG 1 >lang.h--
C-- easyshot.c
@del easyshot
@rename easyshot.com easyshot
@del warning.txt
@del lang.h--
@pause

View File

@ -1,9 +0,0 @@
@del lang.h--
@echo #define LANG_RUS 1 >lang.h--
C-- easyshot.c
@del easyshot
@rename easyshot.com easyshot
@del warning.txt
@del lang.h--
@pause

View File

@ -1,6 +0,0 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("kolibrin.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "kolibrin.com")

View File

@ -1,5 +0,0 @@
C-- kolibrin.c
@del kolibrin
@rename kolibrin.com kolibrin
@pause
@del warning.txt

View File

@ -1,36 +0,0 @@
#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:

View File

@ -1,6 +0,0 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("mblocks.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "mblocks.com")

View File

@ -1,9 +0,0 @@
@del lang.h--
@echo #define LANG_ENG 1 >lang.h--
@c-- mblocks.c
@del mblocks
@rename mblocks.com mblocks
@del warning.txt
@del lang.h--
pause

View File

@ -0,0 +1,13 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("easyshot.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "easyshot.com")
tup.rule("calypte.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "calypte.com")
tup.rule("kolibrin.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "kolibrin.com")
tup.rule("mblocks.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "mblocks.com")
tup.rule("notify.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "notify.com")
tup.rule("pipet.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "pipet.com")
tup.rule("software_widget.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "software_widget.com")

View File

@ -0,0 +1,13 @@
@echo off
del *.kex
For /R %%i In (*.c) Do c-- "%%i"
rename *.com *.kex
mkdir bin
move *.kex bin\
del warning.txt
pause

View File

@ -24,10 +24,6 @@ int TEXT_X=PADDING,
int delay = 400;
#ifndef AUTOBUILD
#include "lang.h--"
#endif
#ifdef LANG_RUS
?define DEFAULT_TEXT "<EFBFBD>â  ¯à®£à ¬¬  ¯®ª §ë¢ ¥â 㢥¤®¬«¥­¨ï.";
#else

View File

@ -1,6 +0,0 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("notify.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "notify.com")

View File

@ -1,9 +0,0 @@
@del lang.h--
@echo #define LANG_ENG 1 >lang.h--
C-- notify.c
@del @notify
@rename notify.com @notify
@del warning.txt
@del lang.h--
@pause

View File

@ -1,9 +0,0 @@
@del lang.h--
@echo #define LANG_RUS 1 >lang.h--
C-- notify.c
@del @notify
@rename notify.com @notify
@del warning.txt
@del lang.h--
@pause

View File

@ -1,6 +0,0 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("pipet.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "pipet.com")

View File

@ -1,5 +0,0 @@
@del pipet
@c-- pipet.c
@rename *.com *.
@del warning.txt
@pause

View File

@ -1,6 +0,0 @@
if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("software_widget.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "software_widget.com")

View File

@ -1,5 +0,0 @@
@C-- software_widget.c
@del syspanel
@ren software_widget.com syspanel
@pause
@del warning.txt