mirror of
https://github.com/gryf/e-uae-wrapper.git
synced 2026-02-08 02:05:46 +01:00
Introduced floppy class
This commit is contained in:
@@ -35,19 +35,22 @@ class Base(object):
|
||||
"""
|
||||
Main function which accepts config file for e-uae
|
||||
It will do as follows:
|
||||
- set needed full path for asset files
|
||||
- extract archive file
|
||||
- set needed paths for templates
|
||||
- validate options
|
||||
- [extract archive file]
|
||||
- copy configuration
|
||||
- [copy save if exists]
|
||||
- run the emulation
|
||||
- archive save state
|
||||
"""
|
||||
|
||||
self.config['wrapper_tmp_dir'] = self.dir = tempfile.mkdtemp()
|
||||
self.config['wrapper_config_path'] = self.conf_path
|
||||
self._interpolate_options()
|
||||
|
||||
if not self._validate_options():
|
||||
return False
|
||||
|
||||
self.config['wrapper_tmp_dir'] = self.dir = tempfile.mkdtemp()
|
||||
self._interpolate_options()
|
||||
# self._set_assets_paths()
|
||||
if not self._copy_conf():
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user