Fix type error for older versions of python
This commit is contained in:
parent
e4c4f8052d
commit
a0b309e3da
|
@ -11,7 +11,7 @@ script:
|
|||
- cp -r Rare/rare AppDir/usr/src/rare
|
||||
- cp -r Rare/custom_legendary AppDir/usr/src/
|
||||
- cp AppDir/usr/src/rare/__main__.py AppDir/usr/src/__main__.py
|
||||
- cp AppDir/usr/src/rare/resources/images/Logo.png AppDir/usr/share/icons/hicolor/256x256/apps/
|
||||
- cp AppDir/usr/src/rare/resources/images/Rare.png AppDir/usr/share/icons/hicolor/256x256/apps/
|
||||
# Install application dependencies
|
||||
- python3 -m pip install --system --ignore-installed --prefix=/usr --root=AppDir -r Rare/requirements.txt
|
||||
|
||||
|
@ -20,7 +20,7 @@ AppDir:
|
|||
app_info:
|
||||
id: org.dummerle.rare
|
||||
name: Rare
|
||||
icon: Logo
|
||||
icon: Rare
|
||||
version: 1.5.0
|
||||
exec: usr/bin/python3
|
||||
exec_args: $APPDIR/usr/src/__main__.py $@
|
||||
|
|
|
@ -16,7 +16,7 @@ class InstallOptionsModel:
|
|||
no_install: bool = False
|
||||
ignore_space_req: bool = False
|
||||
force: bool = False
|
||||
sdl_list: list[str] = field(default_factory=lambda: [''])
|
||||
sdl_list: list = field(default_factory=lambda: [''])
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
Loading…
Reference in a new issue