Skip to content
Snippets Groups Projects
Commit f6fc8858 authored by rswindell's avatar rswindell
Browse files

Renamed the programmer/author/publisher key "from" -> "by"

Inherit the "name" value from the root section in the install item sections.
parent d5a68e2c
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
//
// Name = Name of the program being installed (79 chars or less)
// Desc = Description of the program being installed (79 chars or less)
// From = Comma-separated list of programmers/authors/publishers
// By = Comma-separated list of programmers/authors/publishers
// Cats = Comma-separated list of applicable categories (e.g. "Games")
// Subs = Comma-separated list of applicable sub-categories (e.g. "Adventure")
// Inst = Installer .ini file source/revision/author/date information
......@@ -104,13 +104,13 @@ function aborted()
return false;
}
function install_xtrn_item(cnf, type, desc, item)
function install_xtrn_item(cnf, type, name, desc, item)
{
if (!item.code)
return false;
if (!item.name)
item.name = item.code;
item.name = name || item.code;
function find_code(objs, code)
{
......@@ -245,7 +245,7 @@ function install(ini_fname)
var item = list[i];
if (item.startup_dir === undefined)
item.startup_dir = startup_dir;
var result = install_xtrn_item(xtrn_cnf, types[t].struct, types[t].desc, item);
var result = install_xtrn_item(xtrn_cnf, types[t].struct, name, types[t].desc, item);
if (typeof result !== 'boolean')
return result;
if (result === true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment