1
0
Fork 0
mirror of synced 2024-05-24 14:29:58 +12:00

Fix type error for older versions of python

This commit is contained in:
Dummerle 2021-08-17 17:35:02 +02:00
parent e4c4f8052d
commit a0b309e3da
2 changed files with 3 additions and 3 deletions

View file

@ -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 $@

View file

@ -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