Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
bdf1848d
Commit
bdf1848d
authored
May 05, 2020
by
rswindell
Browse files
Move exec/jsexec.ini to ctrl/jsexec.ini if it exists.
parent
798661ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
exec/update.js
exec/update.js
+8
-0
No files found.
exec/update.js
View file @
bdf1848d
...
...
@@ -141,6 +141,14 @@ if(!xtrn_area.prog["avatchoo"] && !xtrn_area.event["avat-out"]) {
print
(
"
Updating [General] Text File Section indexes
"
);
print
(
update_gfile_indexes
()
+
"
indexes updated.
"
);
var
src
=
system
.
exec_dir
+
"
jsexec.ini
"
;
var
dst
=
system
.
ctrl_dir
+
"
jsexec.ini
"
;
if
(
file_exists
(
src
)
&&
!
file_exists
(
dst
))
{
print
(
"
Moving
"
+
src
+
"
to
"
+
dst
);
if
(
!
file_rename
(
src
,
dst
))
alert
(
"
Could not move '
"
+
src
+
"
' to '
"
+
dst
+
"
'
"
);
}
print
(
"
Updating (compiling) Baja modules
"
);
var
src_files
=
directory
(
system
.
exec_dir
+
"
*.src
"
);
for
(
var
i
in
src_files
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment