1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2026-01-04 12:54:21 +01:00

Move from travis to gh actions

This commit is contained in:
2024-09-13 21:27:40 +02:00
parent bd0aa3dee4
commit 8d8d38d5c0
7 changed files with 9 additions and 56 deletions

View File

@@ -5,7 +5,6 @@ It will use compressed base image and compressed directories.
"""
import logging
import os
import shutil
from fs_uae_wrapper import base
from fs_uae_wrapper import utils
@@ -62,7 +61,6 @@ class Wrapper(base.ArchiveBase):
"location.", base_image)
return False
title = self._get_title()
curdir = os.path.abspath('.')
os.chdir(self.dir)
result = utils.extract_archive(base_image)
@@ -97,8 +95,8 @@ class Wrapper(base.ArchiveBase):
icon_fname = None
for fname in os.listdir(slave_path):
if (fname.lower().endswith('.info') and
os.path.splitext(slave_fname)[0].lower() ==
os.path.splitext(fname)[0].lower()):
os.path.splitext(slave_fname)[0].lower() ==
os.path.splitext(fname)[0].lower()):
icon_fname = fname
break
if icon_fname is None: