mirror of
https://github.com/Syncplay/syncplay
synced 2025-01-21 06:20:47 +00:00
Remove buggy VLC version check
This commit is contained in:
parent
8846a223e6
commit
264004571c
@ -107,7 +107,6 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
||||
Var AvailibleSpaceGiB
|
||||
Var Drive
|
||||
Var VLC_Directory
|
||||
Var VLC_Version
|
||||
|
||||
!macro APP_ASSOCIATE EXT FileCLASS DESCRIPTION COMMANDTEXT COMMAND
|
||||
WriteRegStr HKCR ".$${EXT}" "" "$${FileCLASS}"
|
||||
@ -241,10 +240,6 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
||||
$${NSD_Check} $$CheckBox_QuickLaunchShortcut
|
||||
$${EndIf}
|
||||
|
||||
ReadRegStr $$VLC_Version HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VLC media player" "VersionMajor"
|
||||
$${If} $$VLC_Version != "2"
|
||||
EnableWindow $$CheckBox_VLC 0
|
||||
$${EndIf}
|
||||
nsDialogs::Show
|
||||
|
||||
$${NSD_FreeIcon} $$Icon_Syncplay_Handle
|
||||
|
Loading…
Reference in New Issue
Block a user