# Copy files rm -rf "./temp" mkdir "./temp" wget "https://github.com/NicolasFlamel1/mwcwallet.com/archive/refs/heads/master.zip" unzip "./master" cp -r "./mwcwallet.com-master/public_html/." "./temp/" chmod 777 -R "./temp/" # Get version VERSION=$(grep -Po "(?<=VERSION_NUMBER = \").*(?=\";)" "./temp/backend/common.php") # Compile index.html SERVER_NAME="mwcwallet.com" HTTPS="on" NO_FILE_VERSIONS="" NO_FILE_CHECKSUMS="" NO_MINIFIED_FILES="" HTTPS_SERVER_ADDRESS="https://mwcwallet.com" TOR_SERVER_ADDRESS="http://mwcwalletmiq3gdkmfbqlytxunvlxyli4m6zrqozk7xjc353ewqb6bad.onion" php "./mwcwallet.com-master/public_html/index.html" > "./temp/index.html" sed -i "//d" "./temp/index.html" sed -i "/-->