Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authoralex-z <blackslayer4@gmail.com>2021-10-18 15:30:44 +0300
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>2021-10-19 09:40:56 +0300
commitbd731a9cda379ff21faf442ef9e774746350eaef (patch)
tree2da2c92d21a6798dcca0e28562f5552154b29321 /src/cmd
parentfb74fdf114999375f4c8aef6b41fcd20ca3367d3 (diff)
Windows. Remove CWD from DLL search paths.
Signed-off-by: alex-z <blackslayer4@gmail.com>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/cmd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/cmd.cpp b/src/cmd/cmd.cpp
index b706a382b..3a399655a 100644
--- a/src/cmd/cmd.cpp
+++ b/src/cmd/cmd.cpp
@@ -310,6 +310,9 @@ void selectiveSyncFixup(OCC::SyncJournalDb *journal, const QStringList &newList)
int main(int argc, char **argv)
{
+#ifdef Q_OS_WIN
+ SetDllDirectory(L"");
+#endif
QCoreApplication app(argc, argv);
#ifdef Q_OS_WIN