Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Added extractor init fail error
Browse files Browse the repository at this point in the history
  • Loading branch information
resistiv committed Jan 15, 2022
1 parent 2675441 commit 708f660
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <string>
using namespace std;

const string VERSION = "1.0";
const string VERSION = "1.1";
const string USAGE = " <PAK file path>";

#endif
3 changes: 3 additions & 0 deletions src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ int main(int argc, char** argv)
// Instantiate our extractor
Extractor ext(argv[1]);
if (!ext.IsReady())
{
cerr << "Extractor initialization failed, aborting." << endl;
return EXIT_FAILURE;
}

// Extract files, check for error
if (ext.ExtractFiles() == -1)
Expand Down

0 comments on commit 708f660

Please sign in to comment.