mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
commit
d2b54f7989
2872 changed files with 670392 additions and 0 deletions
1
reference/brc/ship/ship.brc
Normal file
1
reference/brc/ship/ship.brc
Normal file
|
|
@ -0,0 +1 @@
|
|||
BINARY(BRC, "d:/temp/brc.exe" BZ2)
|
||||
13
reference/brc/ship/ship.cpp
Normal file
13
reference/brc/ship/ship.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <Core/Core.h>
|
||||
#include <plugin/bz2/bz2.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
#include "ship.brc"
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
puts("Unpacking BRC.exe...");
|
||||
if(!SaveFile("BRC.exe", BZ2Decompress(MemReadStream(BRC, BRC_length))))
|
||||
puts("Error unpacking file!");
|
||||
}
|
||||
12
reference/brc/ship/ship.upp
Normal file
12
reference/brc/ship/ship.upp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
description "Using binary data for installation";
|
||||
|
||||
uses
|
||||
plugin\bz2;
|
||||
|
||||
file
|
||||
ship.cpp,
|
||||
ship.brc;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue