-
Notifications
You must be signed in to change notification settings - Fork 1
/
gen-README.sh
executable file
·50 lines (40 loc) · 1.43 KB
/
gen-README.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/sh
. $PWD/vars.inc
unix2dos <<EOF
Yggdrasil-waash
===============
Usage: Run \`000-RUNME.bat\`
This is a simple way to run Yggdrasil on a Windows machine.
It generates a new configuration file and adds a predefined
set of Peers (found in \`deps/peers.txt\` file) into it.
Contents of the archive:
\`\`\`
C:\>tree /F yggdrasil-waash-${version}-i386-r${revision}
Folder PATH listing for volume Windows
Volume serial number is FFFF-FFFF
C:\YGGDRASIL-WAASH-${version}-I386-R${revision}
│ 000-RUNME.bat
│ README.txt
│ script.bat
│
└───deps
│ logo.txt
│ peers.txt
│
└───bin
elevate.exe
sed.exe
tap-windows-9.9.2_3.exe
yggdrasil-windows-i386.exe
\`\`\`
NOTES
-----
The sed.exe binary comes from http://unxutils.sourceforge.net/
Yggdrasil binary is compressed using UPX https://upx.github.io/
https://stackoverflow.com/questions/7044985/how-can-i-auto-elevate-my-batch-file-so-that-it-requests-from-uac-administrator
https://stackoverflow.com/questions/6811372/how-to-code-a-bat-file-to-always-run-as-admin-mode
https://superuser.com/questions/946105/is-it-possible-to-install-tap-windows-virtual-openvpn-network-driver-in-a-comple
Not used, just for completness:
https://stackoverflow.com/questions/12322308/batch-file-to-check-64bit-or-32bit-os
https://msfn.org/board/topic/129674-how-can-i-identify-if-os-is-32-bit-or-64-bit-in-batch-file/
EOF