mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-08-03 12:46:29 -04:00
Merge pull request #1176 from kiwix/fix_drive_variable
This commit is contained in:
commit
32f0ee581e
@ -24,7 +24,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
std::string driveLetter = kiwix::getExecutablePath().substr(0, 3);
|
||||
qInfo() << driverLetter;
|
||||
UINT driveType = GetDriveTypeA(driveLetter.c_str());
|
||||
if(driveType == DRIVE_REMOTE) {
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", QByteArray("--no-sandbox"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user