From ed8c4c8302ba889629bc2e3cd7f4bf9b67efeabc Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sun, 14 Jan 2018 20:12:06 +1100 Subject: [PATCH] ensure hte obfs4 torrc template is included in installers --- install/onionshare.nsi | 2 ++ install/pyinstaller.spec | 1 + 2 files changed, 3 insertions(+) diff --git a/install/onionshare.nsi b/install/onionshare.nsi index d980e0e0..10f459fd 100644 --- a/install/onionshare.nsi +++ b/install/onionshare.nsi @@ -146,6 +146,7 @@ Section "install" File "${BINPATH}\share\version.txt" File "${BINPATH}\share\wordlist.txt" File "${BINPATH}\share\torrc_template-windows" + File "${BINPATH}\share\torrc_template-obfs4" SetOutPath "$INSTDIR\share\html" File "${BINPATH}\share\html\404.html" @@ -335,6 +336,7 @@ FunctionEnd Delete "$INSTDIR\share\version.txt" Delete "$INSTDIR\share\wordlist.txt" Delete "$INSTDIR\share\torrc_template-windows" + Delete "$INSTDIR\share\torrc_template-obfs4" Delete "$INSTDIR\share\html\404.html" Delete "$INSTDIR\share\html\denied.html" Delete "$INSTDIR\share\html\index.html" diff --git a/install/pyinstaller.spec b/install/pyinstaller.spec index 0ba359d0..5922991d 100644 --- a/install/pyinstaller.spec +++ b/install/pyinstaller.spec @@ -14,6 +14,7 @@ a = Analysis( ('../share/version.txt', 'share'), ('../share/wordlist.txt', 'share'), ('../share/torrc_template', 'share'), + ('../share/torrc_template-obfs4', 'share'), ('../share/torrc_template-windows', 'share'), ('../share/images/*', 'share/images'), ('../share/locale/*', 'share/locale'),