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:
ac-stef
2015-09-07 14:53:56 +02:00
parent 0dab3ade48
commit 816aed4ba6
9 changed files with 208 additions and 97 deletions
+1 -1
View File
@@ -1616,7 +1616,7 @@ void deletecfg()
loopi(sizeof(configs)/sizeof(configs[0]))
{
const char *file = findfile(path(configs[i], true), "r");
if(!file) continue;
if(!file || findfilelocation == FFL_ZIP) continue;
delfile(file);
}
}