nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff -Nru ostinato-414d89860de0987843295d149bcabeac7c6fd9e5/server/drone_main.cpp ostinato-414d89860de0987843295d149bcabeac7c6fd9e5.new/server/drone_main.cpp
2--- ostinato-414d89860de0987843295d149bcabeac7c6fd9e5/server/drone_main.cpp 2015-12-24 16:46:35.000000000 +0800
3+++ ostinato-414d89860de0987843295d149bcabeac7c6fd9e5.new/server/drone_main.cpp 2015-12-30 20:59:04.319199699 +0800
4@@ -62,8 +62,8 @@
5 /* (Portable Mode) If we have a .ini file in the same directory as the
6 executable, we use that instead of the platform specific location
7 and format for the settings */
8- QString portableIni = QCoreApplication::applicationDirPath()
9- + "/drone.ini";
10+ QString portableIni = argc > 2 ? argv[2] :
11+ QCoreApplication::applicationDirPath() + "/drone.ini";
12 if (QFile::exists(portableIni))
13 appSettings = new QSettings(portableIni, QSettings::IniFormat);
14 else