File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 23
23
#include " json.h"
24
24
#include " crypto/random.h"
25
25
26
- #define EXT_PROCESS_TIMEOUT 10000
26
+ #define EXT_PROCESS_TIMEOUT 30000
27
27
28
28
using TmpFiles = std::array<const char *, 3 >;
29
29
@@ -236,7 +236,8 @@ bool BAK_ExportConfiguration(deCONZ::ApsController *apsCtrl)
236
236
{
237
237
logfilesDirectories += QLatin1String (" homebridge-install-logfiles" );
238
238
}
239
-
239
+ #endif
240
+ #ifdef Q_OS_UNIX
240
241
{
241
242
QStringList args;
242
243
args.append (" -cf" );
@@ -246,10 +247,11 @@ bool BAK_ExportConfiguration(deCONZ::ApsController *apsCtrl)
246
247
args.append (" deCONZ.conf" );
247
248
args.append (" zll.db" );
248
249
args.append (" session.default" );
250
+ #ifdef Q_OS_LINUX
249
251
args.append (FirstFileName);
250
252
args.append (SecondFileName);
251
253
args.append (logfilesDirectories);
252
-
254
+ # endif
253
255
archProcess.start (" tar" , args);
254
256
}
255
257
#endif
You can’t perform that action at this time.
0 commit comments