Parametrize script extension, default to 'tscript'

This commit is contained in:
Lukas Aldershaab 2020-12-12 16:54:16 +01:00
parent b8b62292bd
commit 099dd4f1f3
542 changed files with 774 additions and 783 deletions

View file

@ -409,7 +409,7 @@ FileNodeRef ZipFileSystem::resolve(const Path& path)
// If a zip file's name isn't the root of the path we're looking for
// then do not continue. Otherwise, we'll continue to look for the
// path's root within the zip file itself. i.e. we're looking for the
// path "scripts/test.cs". If the zip file itself isn't called scripts.zip
// path "scripts/test.tscript". If the zip file itself isn't called scripts.zip
// then we won't look within the archive for a "scripts" directory.
return NULL;
#endif
@ -472,4 +472,4 @@ void ZipFileSystem::_init()
//mZipArchive->dumpCentralDirectory();
}
};
};

View file

@ -46,7 +46,7 @@ namespace FS
/// 3) Nothing special is done for the WriteAppend case; that is, it follows the same logic as if you were
/// just trying to Write the file.
///
/// Because of rule 1) above, you should take care that any files you need to write (such as prefs.cs), are not
/// Because of rule 1) above, you should take care that any files you need to write (such as prefs.tscript), are not
/// included in read-only zip archive files.
class VirtualMountSystem : public MountSystem
{