Remove bootstrap.cfg and references to it.
This commit is contained in:
@@ -250,9 +250,6 @@ class AbstractResourceLocator(object):
|
||||
"""
|
||||
return os.path.join(self.build_directory(), 'CrySCompileServer')
|
||||
|
||||
def bootstrap_config_file(self):
|
||||
return os.path.join(self.engine_root(), 'bootstrap.cfg')
|
||||
|
||||
def asset_processor_config_file(self):
|
||||
return os.path.join(self.engine_root(), 'Registry', 'AssetProcessorPlatformConfig.setreg')
|
||||
|
||||
|
||||
@@ -664,8 +664,7 @@ class AssetProcessor(object):
|
||||
make_dir = os.path.join(self._temp_asset_root, copy_dir)
|
||||
if not os.path.isdir(make_dir):
|
||||
os.makedirs(make_dir)
|
||||
for copyfile_name in ['bootstrap.cfg',
|
||||
'Registry/AssetProcessorPlatformConfig.setreg',
|
||||
for copyfile_name in ['Registry/AssetProcessorPlatformConfig.setreg',
|
||||
os.path.join(self._workspace.project, "project.json"),
|
||||
os.path.join('Assets', 'Engine', 'exclude.filetag')]:
|
||||
shutil.copyfile(os.path.join(self._workspace.paths.engine_root(), copyfile_name),
|
||||
|
||||
@@ -57,14 +57,6 @@ class LySettings(object):
|
||||
"""
|
||||
self._backup_settings(self._resource_locator.platform_config_file(), backup_path)
|
||||
|
||||
def backup_bootstrap_settings(self, backup_path=None):
|
||||
"""
|
||||
Creates a backup of the bootstrap settings file (~/dev/bootstrap.cfg) in the backup_path. If no path is
|
||||
provided, it will store in the workspace temp path (the contents of the workspace temp directory are removed
|
||||
during workspace teardown)
|
||||
"""
|
||||
self._backup_settings(self._resource_locator.bootstrap_config_file(), backup_path)
|
||||
|
||||
def backup_shader_compiler_settings(self, backup_path=None):
|
||||
self._backup_settings(self._resource_locator.shader_compiler_config_file(), backup_path)
|
||||
|
||||
@@ -79,14 +71,6 @@ class LySettings(object):
|
||||
"""
|
||||
self._restore_settings(self._resource_locator.platform_config_file(), backup_path)
|
||||
|
||||
def restore_bootstrap_settings(self, backup_path=None):
|
||||
"""
|
||||
Restores the bootstrap settings file (~/dev/bootstrap.cfg) from its backup.
|
||||
The backup is stored in the backup_path.
|
||||
If no backup_path is provided, it will attempt to retrieve the backup from the workspace temp path.
|
||||
"""
|
||||
self._restore_settings(self._resource_locator.bootstrap_config_file(), backup_path)
|
||||
|
||||
def restore_shader_compiler_settings(self, backup_path=None):
|
||||
self._restore_settings(self._resource_locator.shader_compiler_config_file(), backup_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user