Changeset View
Changeset View
Standalone View
Standalone View
source/main.cpp
Show First 20 Lines • Show All 602 Lines • ▼ Show 20 Lines | do | ||||
std::vector<CStr> installedMods; | std::vector<CStr> installedMods; | ||||
if (!modsToInstall.empty()) | if (!modsToInstall.empty()) | ||||
{ | { | ||||
Paths paths(args); | Paths paths(args); | ||||
CModInstaller installer(paths.UserData() / "mods", paths.Cache()); | CModInstaller installer(paths.UserData() / "mods", paths.Cache()); | ||||
// Install the mods without deleting the pyromod files | // Install the mods without deleting the pyromod files | ||||
for (const OsPath& modPath : modsToInstall) | for (const OsPath& modPath : modsToInstall) | ||||
installer.Install(modPath, g_ScriptRuntime, false); | installer.Install(modPath, g_ScriptRuntime, true); | ||||
installedMods = installer.GetInstalledMods(); | installedMods = installer.GetInstalledMods(); | ||||
} | } | ||||
if (isNonVisual) | if (isNonVisual) | ||||
{ | { | ||||
InitNonVisual(args); | InitNonVisual(args); | ||||
while (!quit) | while (!quit) | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator