mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-21 13:10:23 +01:00
updating gta5view-cmd for latest gta5sync source
This commit is contained in:
parent
b989ae7ec8
commit
f51b22691e
3 changed files with 5 additions and 5 deletions
2
gta5sync
2
gta5sync
|
@ -1 +1 @@
|
|||
Subproject commit 9fa37cf797ef5f05514e0dbccdcc3673e13b9991
|
||||
Subproject commit fc8042939efc7db99ecaaf83f2ffe88171c151a6
|
|
@ -36,7 +36,7 @@ INCLUDEPATH += ./gta5sync
|
|||
|
||||
# WINDOWS ONLY
|
||||
|
||||
win32: DEFINES += GTA5SYNC_WIN GTA5VIEW_CMD
|
||||
win32: DEFINES += GTA5SYNC_WIN
|
||||
# win32: RC_FILE += res/app.rc
|
||||
win32: LIBS += -luser32
|
||||
win32: CONFIG -= embed_manifest_exe
|
||||
|
|
6
main.cpp
6
main.cpp
|
@ -49,7 +49,7 @@ int main(int argc, char *argv[])
|
|||
SnapmaticPicture picture(args.at(1));
|
||||
if (picture.readingPicture(true, false, true))
|
||||
{
|
||||
if (!picture.exportPicture(args.at(2), "JPG"))
|
||||
if (!picture.exportPicture(args.at(2), SnapmaticFormat::JPEG_Format))
|
||||
{
|
||||
cout << "gta5view-cmd: Exporting of " << args.at(1).toStdString().c_str() << " to " << args.at(2).toStdString().c_str() << " failed!" << endl;
|
||||
return 1;
|
||||
|
@ -86,7 +86,7 @@ int main(int argc, char *argv[])
|
|||
filePath.replace("<autodef>", picture.getPictureFileName());
|
||||
if (!customFormat)
|
||||
{
|
||||
if (!picture.exportPicture(filePath, "PGTA"))
|
||||
if (!picture.exportPicture(filePath, SnapmaticFormat::PGTA_Format))
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << args.at(2).toStdString().c_str() << " failed!" << endl;
|
||||
return 1;
|
||||
|
@ -94,7 +94,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!picture.exportPicture(filePath, "G5E"))
|
||||
if (!picture.exportPicture(filePath, SnapmaticFormat::G5E_Format))
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << args.at(2).toStdString().c_str() << " failed!" << endl;
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue