Skip to content

Commit d094eba

Browse files
committed
Fix long path detection
1 parent 87046b6 commit d094eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/registry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static bool launchExecutable(const wchar_t* executable)
6161
}
6262

6363
void checkAndEnableLongPaths() {
64-
if (isLongPathsEnabled()) {
64+
if (!isLongPathsEnabled()) {
6565
if (ask("Long Paths are disabled, this could cause some issues\nwhile downloading or decrypting\nEnable Long Paths?")) {
6666
if(launchExecutable(L"regFixLongPaths.exe"))
6767
showError("Successfully enabled Long Paths!");

0 commit comments

Comments
 (0)