1
0
Fork 0
mirror of https://gitlab.com/Syping/gta5view-cmd synced 2024-11-23 14:10:23 +01:00

added only_exported_filename for PHP

This commit is contained in:
Syping 2018-02-03 02:23:51 +01:00
parent 91d4d68cba
commit 297b888d5a

View file

@ -322,10 +322,17 @@ int main(int argc, char *argv[])
return 1;
}
else
{
if (flags.value("output", QString()).toLower() == "only_exported_filename")
{
cout << filePath.toStdString().c_str() << endl;
}
else
{
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << filePath.toStdString().c_str() << " is successful!" << endl;
}
}
}
else
{
filePath.replace("<autoext>", ".g5e");
@ -335,11 +342,18 @@ int main(int argc, char *argv[])
return 1;
}
else
{
if (flags.value("output", QString()).toLower() == "only_exported_filename")
{
cout << filePath.toStdString().c_str() << endl;
}
else
{
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << filePath.toStdString().c_str() << " is successful!" << endl;
}
}
}
}
else
{
cout << "gta5view-cmd: Editing of Snapmatic Image Stream failed!" << endl;