mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
NSIS: Add option to remove Windows path length limitation
This commit is contained in:
parent
f80b7affd9
commit
a711558ba0
60 changed files with 128 additions and 0 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue