Do not run test workflow on every commit + fix small desktop link on windows
This commit is contained in:
parent
1ae1f81915
commit
afc919421c
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue