rewire zip packages inside the virtual filesystem
* change priority of zip packages from "highest" to "just below home dir" * strict naming rules for zip packages * require all zips to be below directory "mods/" * only allow zips to intoduce files below "packages/" (or with a special zip package name also below "config/") * make zip package config persistent (saved to init.cfg) WARNING: intermediate commit - autodownload system defunct! DOCREF (removed) addzip removezip
This commit is contained in:
@@ -923,6 +923,7 @@ void getmapsoundorigin(char *fname)
|
||||
const char *res = s;
|
||||
switch(findfilelocation)
|
||||
{
|
||||
case FFL_ZIP: res = "zip"; break;
|
||||
case FFL_WORKDIR: res = fileexists(s, "r") ? "official" : "<file not found>"; break;
|
||||
case FFL_HOME: res = "custom"; break;
|
||||
default: formatstring(s)("package dir #%d", findfilelocation); break;
|
||||
|
||||
Reference in New Issue
Block a user