ultimatepp/uppdev/brc/ship/ship.cpp
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

14 lines
275 B
C++

#include <Core/Core.h>
#include <plugin/bz2/bz2.h>
using namespace Upp;
#include "ship.brc"
CONSOLE_APP_MAIN
{
puts("Unpacking BRC.exe...");
MemReadStream in(BRC, BRC_length);
if(!SaveFile("BRC.exe", BZ2Decompress(in)))
puts("Error unpacking file!");
}