mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d869d99785 | ||
|
|
bfeda873c4 | ||
|
|
c9766b6e1a | ||
|
|
03328e9f55 | ||
|
|
c48d1c36b7 | ||
|
|
866a004438 | ||
|
|
8b8ddc8163 | ||
|
|
5dc1ee3da6 | ||
|
|
dd653c3752 | ||
|
|
a8556eacb6 | ||
|
|
f0810bfa43 | ||
|
|
7432f7870b | ||
|
|
71f9c4f69d | ||
|
|
a3671a5557 | ||
|
|
5ae681e6d5 |
@@ -4,6 +4,7 @@ src/moc_*.cpp
|
||||
src/ui_*.h
|
||||
src/*.qrc.depends
|
||||
src/Modorganizer.*
|
||||
src/*.bak
|
||||
CMakeLists.txt.user
|
||||
edit
|
||||
stderr.log
|
||||
|
||||
+9
-9
@@ -4229,6 +4229,9 @@ void MainWindow::on_bossButton_clicked()
|
||||
std::string errorMessages;
|
||||
|
||||
m_OrganizerCore.currentProfile()->writeModlistNow();
|
||||
//Create a backup of the load orders w/ LOOT in name
|
||||
//to make sure that any sorting is easily undo-able.
|
||||
//Need to figure out how I want to do that.
|
||||
|
||||
bool success = false;
|
||||
|
||||
@@ -4241,19 +4244,15 @@ void MainWindow::on_bossButton_clicked()
|
||||
dialog.show();
|
||||
|
||||
QString outPath = QDir::temp().absoluteFilePath("lootreport.json");
|
||||
|
||||
|
||||
QStringList parameters;
|
||||
parameters << "--unattended"
|
||||
<< "--stdout"
|
||||
<< "--noreport"
|
||||
<< "--game" << m_OrganizerCore.managedGame()->gameShortName()
|
||||
parameters << "--game" << m_OrganizerCore.managedGame()->gameShortName()
|
||||
<< "--gamePath" << QString("\"%1\"").arg(m_OrganizerCore.managedGame()->gameDirectory().absolutePath())
|
||||
<< "--pluginListPath" << QString("\"%1/loadorder.txt\"").arg(m_OrganizerCore.profilePath())
|
||||
<< "--out" << outPath;
|
||||
|
||||
if (m_DidUpdateMasterList) {
|
||||
parameters << "--skipUpdateMasterlist";
|
||||
} else {
|
||||
m_DidUpdateMasterList = true;
|
||||
}
|
||||
HANDLE stdOutWrite = INVALID_HANDLE_VALUE;
|
||||
HANDLE stdOutRead = INVALID_HANDLE_VALUE;
|
||||
@@ -4369,7 +4368,8 @@ void MainWindow::on_bossButton_clicked()
|
||||
}
|
||||
|
||||
if (success) {
|
||||
if (reportURL.length() > 0) {
|
||||
m_DidUpdateMasterList = true;
|
||||
/*if (reportURL.length() > 0) {
|
||||
m_IntegratedBrowser.setWindowTitle("LOOT Report");
|
||||
QString report(reportURL.c_str());
|
||||
QStringList temp = report.split("?");
|
||||
@@ -4378,7 +4378,7 @@ void MainWindow::on_bossButton_clicked()
|
||||
url.setQuery(temp.at(1).toUtf8());
|
||||
}
|
||||
m_IntegratedBrowser.openUrl(url);
|
||||
}
|
||||
}*/
|
||||
|
||||
// if the game specifies load order by file time, our own load order file needs to be removed because it's outdated.
|
||||
// refreshESPList will then use the file time as the load order.
|
||||
|
||||
+3
-3
@@ -732,9 +732,9 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="text">
|
||||
<string>Sort</string>
|
||||
</property>
|
||||
<property name="visible">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="visible">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/MO/gui/sort</normaloff>:/MO/gui/sort</iconset>
|
||||
|
||||
@@ -1243,7 +1243,7 @@ bool OrganizerCore::waitForProcessCompletion(HANDLE handle, LPDWORD exitCode)
|
||||
while (
|
||||
res = ::MsgWaitForMultipleObjects(1, &handle, false, 500,
|
||||
QS_KEY | QS_MOUSE),
|
||||
((res != WAIT_FAILED) && (res != WAIT_OBJECT_0)) &&
|
||||
((res != WAIT_FAILED) || (res != WAIT_OBJECT_0)) &&
|
||||
((m_UserInterface == nullptr) || !m_UserInterface->unlockClicked())) {
|
||||
|
||||
if (!::GetVFSProcessList(&numProcesses, processes)) {
|
||||
@@ -1256,9 +1256,9 @@ bool OrganizerCore::waitForProcessCompletion(HANDLE handle, LPDWORD exitCode)
|
||||
for (size_t i = 0; i < count; ++i) {
|
||||
std::wstring processName = getProcessName(processes[i]);
|
||||
if (!boost::starts_with(processName, L"ModOrganizer.exe")) {
|
||||
currentProcess = processes[i];
|
||||
currentProcess = processes[i];
|
||||
m_UserInterface->setProcessName(QString::fromStdWString(processName));
|
||||
processHandle = ::OpenProcess(SYNCHRONIZE, FALSE, currentProcess);
|
||||
processHandle = ::OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, currentProcess);
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ SelfUpdater::SelfUpdater(NexusInterface *nexusInterface)
|
||||
m_MOVersion = VersionInfo(version.dwFileVersionMS >> 16,
|
||||
version.dwFileVersionMS & 0xFFFF,
|
||||
version.dwFileVersionLS >> 16,
|
||||
version.dwFileVersionLS & 0xFFFF);
|
||||
version.dwFileVersionLS & 0xFFFF);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
#include "Winver.h"
|
||||
|
||||
#define VER_FILEVERSION 2,0,8,1
|
||||
#define VER_FILEVERSION_STR "2.0.8.1beta\0"
|
||||
#define VER_FILEVERSION 2,0,8,2
|
||||
#define VER_FILEVERSION_STR "2.0.8.2beta\0"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION VER_FILEVERSION
|
||||
|
||||
Reference in New Issue
Block a user