mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-23 06:00:22 +01:00
added only_exported_filename for PHP
This commit is contained in:
parent
91d4d68cba
commit
297b888d5a
1 changed files with 16 additions and 2 deletions
14
main.cpp
14
main.cpp
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue