mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
Moved setting python dir to its own function
This commit is contained in:
parent
c7a67f5c53
commit
538643b5ba
1 changed files with 5 additions and 1 deletions
|
@ -103,12 +103,16 @@
|
||||||
|
|
||||||
; Functions
|
; Functions
|
||||||
|
|
||||||
Function .onInit
|
Function set_python_dir
|
||||||
ReadRegStr $PYTHONDIR HKLM "SOFTWARE\Python\PythonCore\${PYTHON_VERSION}\InstallPath" ""
|
ReadRegStr $PYTHONDIR HKLM "SOFTWARE\Python\PythonCore\${PYTHON_VERSION}\InstallPath" ""
|
||||||
IfErrors 0 +2
|
IfErrors 0 +2
|
||||||
StrCpy $PYTHONDIR "$INSTDIR\Python"
|
StrCpy $PYTHONDIR "$INSTDIR\Python"
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
Function .onInit
|
||||||
|
Call set_python_dir
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
; General Settings
|
; General Settings
|
||||||
|
|
||||||
; Version
|
; Version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue