1
0
mirror of https://github.com/gryf/e-uae-wrapper.git synced 2026-02-14 06:45:44 +01:00

Make e-uae actually run with archive wrapper

This commit is contained in:
2018-02-15 21:03:23 +01:00
parent a420e4a821
commit 2b3ef18609
3 changed files with 36 additions and 9 deletions

View File

@@ -53,7 +53,7 @@ class Wrapper(base.ArchiveBase):
"""
Produce archive and save it back. Than remove old one.
"""
if self.all_options.get('wrapper_persist_data', '0') != '1':
if self.config.get('wrapper_persist_data', '0') != '1':
return True
curdir = os.path.abspath('.')
@@ -62,7 +62,7 @@ class Wrapper(base.ArchiveBase):
saves = self._get_saves_dir()
if saves:
shutil.rmtree(saves)
os.unlink('Config.e-uae')
os.unlink('.uaerc')
title = self._get_title()