mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 08:32:31 -06:00
NSIS: Add option to remove Windows path length limitation
This commit is contained in:
6
dist/windows/installer.nsi
vendored
6
dist/windows/installer.nsi
vendored
@@ -187,6 +187,12 @@ Section $(inst_firewall)
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section $(inst_pathlimit) ;"Disable Windows path length limit (260 character MAX_PATH limitation, requires Windows 10 1607 or later)"
|
||||
|
||||
WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Control\FileSystem" "LongPathsEnabled" 1
|
||||
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
|
||||
Function .onInit
|
||||
|
||||
Reference in New Issue
Block a user