EEE - Environment Embedding Executable

Moderator: Forum moderators

Post Reply
User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

EEE - Environment Embedding Executable

Post by puppy_apprentice »

EEE is a program that combines multiple files and actions into a compressed Windows, Linux or Mac
OS X (Darwin) executable. Do you have to distribute DLL's or SO's along with your application? The
interpreter with you script? The runtime environment with your program? EEE is what you're looking
for!
http://www.erikveen.dds.nl/eee/index.html

Quick example:
We will add some tools from here.
1. Prepare htools.eee file:

Code: Select all

f runner.sh
f info
f crc32
f md5
f sha1
t chmod a+x crc32
t chmod a+x md5
t chmod a+x sha1
t chmod a+x runner.sh
t ./runner.sh %parms%

f - store file in package
t - execute command
2. runner.sh:

Code: Select all

#!/bin/sh
if [[ -z "$@" ]]; then
	cat ./info
else
	output="$(./$@)"
	echo "$output"
fi

3. info:

Code: Select all

Hash Tools v1.0 (x64 version)
Usage: htools tool [option]

Tools:
crc32	- calculate the CRC32 checksum of the given file
md5	- calculate the MD5 checksum of the given file
sha1	- calculate the SHA1 checksum of the given file
sha2	- calculate the SHA2 checksum of the given file
sha3	- calculate the SHA3 checksum of the given file

4. Make package:

Code: Select all

eee_linux htools.eee htools

5. Usage:

Code: Select all

htools - shows info file
htools crc32 - shows crc32 help
htools crc32 -s Hello World - string checksum

Similar topic:
viewtopic.php?t=3250

Attachments
htools.zip
(150.55 KiB) Downloaded 32 times
User avatar
vtpup
Posts: 707
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 178 times
Been thanked: 152 times
Contact:

Re: EEE - Environment Embedding Executable

Post by vtpup »

cool!

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

Post Reply

Return to “Utilities”