printf"${bold}${RED} - Make sure to rename the .zip properly as per https://github.com/Alex313031/Thorium/discussions/28#discussioncomment-3031799 ${c0}\n"&&
printf"${bold}${RED} AND make sure to edit the THORIUM_SHELL.BAT to match the version number of this release.${c0}\n"&&
printf"${YEL}\n"&&
read -p "Press Enter to continue or Ctrl + C to abort."
printf"\n"&&
printf"${YEL}Extracting & Copying files from Thorium .exe file...\n"&&
printf"${c0}\n"&&
sleep 2&&
# Extract data.tar.xz
mkdir -v -p ./temp &&
mkdir -v -p ./temp/USER_DATA &&
mkdir -v -p ./out &&
7z x thorium_mini_installer.exe &&
7z x chrome.7z &&
mv -v Chrome-bin ./temp/BIN &&
cp -r -v ./README.win temp/README.txt &&
cp -r -v ./THORIUM.BAT temp/ &&
cp -r -v ./THORIUM_SHELL.BAT temp/ &&
printf"\n"&&
printf"${YEL}Zipping up...\n"&&
printf"${c0}\n"&&
# Build Appimage
cd temp; zip -r ../out/zipped_thorium_win.zip * &&
printf"\n"&&
printf"${YEL}Cleaning up...\n"&&
printf"${c0}\n"&&
sleep 2&&
# Cleanup
cd .. &&
rm -r -v chrome.7z &&
rm -r -v temp &&
printf"\n"&&
printf"${GRE}Done! ${YEL}Zip at //out/zipped_thorium_win.zip\n - Remember to rename it with the version before distributing it.\n"&&