summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cleaner.sce4
-rw-r--r--etc/FOSSEE_Signal_Processing_Toolbox.start10
-rw-r--r--loader.sce20
-rw-r--r--unloader.sce23
4 files changed, 12 insertions, 45 deletions
diff --git a/cleaner.sce b/cleaner.sce
index aab2d3e..3fe66e3 100644
--- a/cleaner.sce
+++ b/cleaner.sce
@@ -38,6 +38,10 @@ function perform_clean()
end
end
+ if isdir(root_tlbx + "/inline/") then
+ rmdir(root_tlbx + "/inline/", "s");
+ end
+
if isfile(root_tlbx + "/loader.sce") then
mdelete(root_tlbx + "/loader.sce");
end
diff --git a/etc/FOSSEE_Signal_Processing_Toolbox.start b/etc/FOSSEE_Signal_Processing_Toolbox.start
index a450282..8a352b9 100644
--- a/etc/FOSSEE_Signal_Processing_Toolbox.start
+++ b/etc/FOSSEE_Signal_Processing_Toolbox.start
@@ -5,7 +5,9 @@
// you should have received as part of this distribution. The terms
// are also available at
// https://opensource.org/licenses/BSD-3-Clause
-// Author: Shamika Mohanan
+// Author: Shamika Mohanan
+// Modified by: Abinash Singh Under FOSSEE Internship
+// Last Modified On: 19 March 2024
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
@@ -36,7 +38,11 @@ ilib_verbose(0);
// Load and add help chapter
// =============================================================================
-if ( %t ) then
+if ( %t ) then
+// create jar dir if not exists
+if ( isdir(root_tlbx+"/jar") == %f ) then
+ mkdir(root_tlbx+"/jar");
+end
if or(getscilabmode() == ["NW";"STD"]) then
mprintf("\tLoad help\n");
path_addchapter = pathconvert(root_tlbx+"/jar");
diff --git a/loader.sce b/loader.sce
deleted file mode 100644
index 328a320..0000000
--- a/loader.sce
+++ /dev/null
@@ -1,20 +0,0 @@
-// This file is released under the 3-clause BSD license. See COPYING-BSD.
-// Generated by builder.sce: Please, do not edit this file
-
-oldmode = mode(); mode(-1);
-oldlines = lines()(2); lines(0);
-try
- exec(get_absolute_file_path("loader.sce")+"etc/"+"FOSSEE_Signal_Processing_Toolbox.start");
-catch
- [errmsg, tmp, nline, func] = lasterror()
- msg = "%s: error on line #%d: ""%s""\n"
- msg = msprintf(msg, func, nline, errmsg)
- lines(oldlines)
- mode(oldmode);
- clear oldlines oldmode tmp nline func
- error(msg);
-end
-lines(oldlines);
-mode(oldmode);
-clear oldlines oldmode;
-
diff --git a/unloader.sce b/unloader.sce
deleted file mode 100644
index 8021197..0000000
--- a/unloader.sce
+++ /dev/null
@@ -1,23 +0,0 @@
-// This file is released under the 3-clause BSD license. See COPYING-BSD.
-// Generated by builder.sce: Please, do not edit this file
-
-oldmode = mode(); mode(-1);
-oldlines = lines()(2); lines(0);
-try
- fileQuit = get_absolute_file_path("unloader.sce") + "etc/" + "FOSSEE_Signal_Processing_Toolbox.quit";
- if isfile(fileQuit) then
- exec(fileQuit);
- end
-catch
- [errmsg, tmp, nline, func] = lasterror()
- msg = "%s: error on line #%d: ""%s""\n"
- msg = msprintf(msg, func, nline, errmsg)
- lines(oldlines)
- mode(oldmode);
- clear oldlines oldmode tmp nline func
- error(msg);
-end
-lines(oldlines);
-mode(oldmode);
-clear oldlines oldmode;
-