1
0
Fork 0
mirror of synced 2024-05-13 00:53:04 +12:00

Do not run test workflow on every commit + fix small desktop link on windows

This commit is contained in:
Dummerle 2022-04-26 21:13:37 +02:00
parent 1ae1f81915
commit afc919421c
No known key found for this signature in database
GPG key ID: AB68CC59CA39F2F1
3 changed files with 2 additions and 7 deletions

View file

@ -2,11 +2,6 @@
name: "Test"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
workflow_dispatch:
jobs:

View file

@ -141,7 +141,7 @@ class GlobalSignals(QObject):
overlay_installation_finished = pyqtSignal()
update_gamelist = pyqtSignal(list)
game_uninstalled = pyqtSignal(str)
game_uninstalled = pyqtSignal(str) # appname
set_discord_rpc = pyqtSignal(str) # app_name of running game
rpc_settings_updated = pyqtSignal()

View file

@ -330,7 +330,7 @@ def create_desktop_link(app_name=None, core: LegendaryCore = None, type_of_link=
linkName = igame.title
# TODO: this conversion is not applied everywhere (see base_installed_widget), should it?
for c in r'<>?":|\/*':
linkName.replace(c, "")
linkName = linkName.replace(c, "")
linkName = f"{linkName.strip()}.lnk"