mirror of
https://github.com/wownero/i2p-zero.git
synced 2026-11-15 04:33:58 +01:00
uncompressed/compressed distribution size ASCII table generation for inclusion in README
This commit is contained in:
@@ -23,14 +23,15 @@ Download the latest binary releases for Mac/Windows/Linux here: https://github.c
|
||||
|
||||
The zero-dependency distribution sizes are as follows:
|
||||
|
||||
OS | Uncompressed size (MB) | bz2 Compressed size (MB)
|
||||
------------ | ------------- | -------------
|
||||
Linux | 50.5 | 32.0
|
||||
Mac | 39.2 | 26.0
|
||||
Windows | 40.2 | 29.0
|
||||
Linux GUI | 75.9 | 51.9
|
||||
Mac GUI | 61.5 | 45.0
|
||||
Windows GUI | 62.6 | 47.4
|
||||
OS | Uncompressed size (MB) | Compressed size (MB)
|
||||
-------------- | ------------------------ | ------------------------
|
||||
Mac | 39.2 | 26.0
|
||||
Windows | 40.2 | 29.0
|
||||
Linux | 50.5 | 32.0
|
||||
Mac GUI | 61.5 | 45.0
|
||||
Windows GUI | 62.6 | 47.4
|
||||
Linux GUI | 75.9 | 51.9
|
||||
|
||||
|
||||
## Building the launchers
|
||||
|
||||
|
||||
+19
-2
@@ -30,5 +30,22 @@ fi
|
||||
|
||||
cd ..
|
||||
|
||||
du -sk dist/* | awk '{printf "%.1f MB %s\n",$1/1024,$2}'
|
||||
du -sk dist-zip/* | awk '{printf "%.1f MB %s\n",$1/1024,$2}'
|
||||
|
||||
print3ColsJustified () {
|
||||
printf "%-.14s %s" "$1 " "| "
|
||||
printf "%-.26s %s" "$2 " "| "
|
||||
printf "%s\n" "$3"
|
||||
}
|
||||
getDirSizeMB () {
|
||||
du -sk $1 | awk '{printf "%.1f",$1/1024,$2}'
|
||||
}
|
||||
|
||||
print3ColsJustified "OS" "Uncompressed size (MB)" "Compressed size (MB)"
|
||||
print3ColsJustified "------------------------" "------------------------" "------------------------"
|
||||
print3ColsJustified "Mac" "`getDirSizeMB dist/mac`" "`getDirSizeMB dist-zip/i2p-zero-mac.v${VERSION}.tar.bz2`"
|
||||
print3ColsJustified "Windows" "`getDirSizeMB dist/win`" "`getDirSizeMB dist-zip/i2p-zero-win.v${VERSION}.zip`"
|
||||
print3ColsJustified "Linux" "`getDirSizeMB dist/linux`" "`getDirSizeMB dist-zip/i2p-zero-linux.v${VERSION}.tar.bz2`"
|
||||
print3ColsJustified "Mac GUI" "`getDirSizeMB dist/mac-gui`" "`getDirSizeMB dist-zip/i2p-zero-mac-gui.v${VERSION}.tar.bz2`"
|
||||
print3ColsJustified "Windows GUI" "`getDirSizeMB dist/win-gui`" "`getDirSizeMB dist-zip/i2p-zero-win-gui.v${VERSION}.zip`"
|
||||
print3ColsJustified "Linux GUI" "`getDirSizeMB dist/linux-gui`" "`getDirSizeMB dist-zip/i2p-zero-linux-gui.v${VERSION}.tar.bz2`"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user