Fix import game
This commit is contained in:
parent
62aa78dcae
commit
672bc814ba
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -195,7 +195,7 @@ jobs:
|
|||
uses: svenstaro/upload-release-action@2.2.1
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: Rare-Windows-1.10.0.zip
|
||||
file: Rare-Windows.zip
|
||||
asset_name: Rare-Windows-${{ github.event.release.tag_name }}.zip
|
||||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
|
|
|
@ -292,7 +292,7 @@ class ImportGroup(QGroupBox):
|
|||
@pyqtSlot(ImportedGame, int)
|
||||
def __on_import_progress(self, imported: ImportedGame, progress: int):
|
||||
self.info_progress.setValue(progress)
|
||||
if imported.result == ImportResult.SUCCESS or imported.result == ImportResult.FAILED:
|
||||
if imported.result == ImportResult.SUCCESS:
|
||||
self.rcore.get_game(imported.app_name).set_installed(True)
|
||||
status = "error" if not imported.result else (
|
||||
"failed" if imported.result == ImportResult.FAILED else "successful"
|
||||
|
|
|
@ -290,6 +290,7 @@ class RareGame(RareGameSlim):
|
|||
else:
|
||||
if self.has_update:
|
||||
self.signals.download.dequeue.emit(self.app_name)
|
||||
self.core.egstore_delete(self.igame)
|
||||
self.igame = None
|
||||
self.signals.game.uninstalled.emit(self.app_name)
|
||||
self.set_pixmap()
|
||||
|
|
Loading…
Reference in a new issue