mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
oeinstaller: disable 'install' button if no usb stick detected
This commit is contained in:
parent
a777d1e3fe
commit
173b83b28e
@ -100,6 +100,12 @@ Function CustomCreate
|
|||||||
StrCpy $R0 ''
|
StrCpy $R0 ''
|
||||||
${GetDrives} "FDD" GetDrivesCallBack
|
${GetDrives} "FDD" GetDrivesCallBack
|
||||||
|
|
||||||
|
GetDlgItem $1 $HWNDPARENT 1
|
||||||
|
${If} $R0 == ""
|
||||||
|
EnableWindow $1 0
|
||||||
|
${Else}
|
||||||
|
EnableWindow $1 1
|
||||||
|
${EndIf}
|
||||||
WriteIniStr '$PLUGINSDIR\custom.ini' 'Field 2' 'Type' 'DropList'
|
WriteIniStr '$PLUGINSDIR\custom.ini' 'Field 2' 'Type' 'DropList'
|
||||||
WriteIniStr '$PLUGINSDIR\custom.ini' 'Field 2' 'Left' '30'
|
WriteIniStr '$PLUGINSDIR\custom.ini' 'Field 2' 'Left' '30'
|
||||||
WriteIniStr '$PLUGINSDIR\custom.ini' 'Field 2' 'Top' '25'
|
WriteIniStr '$PLUGINSDIR\custom.ini' 'Field 2' 'Top' '25'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user