-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #290 from weskerty/master
Actualizacion Web y Mas
- Loading branch information
Showing
15 changed files
with
196 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>🔮The Mystic Bot🔮</title> | ||
<title>The Mystic Bot🔮</title> | ||
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:[email protected]&display=swap" rel="stylesheet"> | ||
<link rel="icon" type="image/gif" href="web/favicon.ico"> | ||
<link rel="icon" type="image/x-icon" href="web/favicon.ico"> | ||
<link rel="stylesheet" href="web/estilo.css"> | ||
<style> | ||
/* Estilo de Carga*/ | ||
|
@@ -39,7 +39,7 @@ | |
</div> | ||
|
||
<video autoplay muted loop id="bg-video" preload="auto"> | ||
<source src="https://github.com/user-attachments/assets/fd54742d-a7e9-49f4-b268-da16689918c1" type="video/mp4"> | ||
<source src="https://github.com/user-attachments/assets/39cbf647-28cd-4604-a717-ada1439d274b" type="video/mp4"> | ||
Er Video | ||
</video> | ||
|
||
|
@@ -142,7 +142,7 @@ | |
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer> | ||
new Crate({ | ||
server: '1278571215635877908', | ||
channel: '1280976262504124508' | ||
channel: '1286022420330840215' | ||
}); | ||
</script> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
termux-wake-lock | ||
proot-distro login archlinux -- /bin/bash -c ./update.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
!include x64.nsh | ||
!include FileFunc.nsh | ||
|
||
OutFile "TheMystic.exe" | ||
Icon "F:\Documentos\LinuxMint\ICO\Mystic.ico" #Aqui el logo | ||
RequestExecutionLevel highest | ||
Name "Instalador MysticBot" | ||
|
||
Section "MainSection" SEC01 | ||
|
||
SetOutPath $TEMP | ||
File /oname=$TEMP\UpMystic.bat "F:\Escritorio\UpMystic.bat" #El Script de Instalacion | ||
|
||
${If} ${RunningX64} | ||
ExecWait '"$WINDIR\SysNative\cmd.exe" /c "$TEMP\UpMystic.bat"' #Variables para ejecucion nativa en 64Bits | ||
${Else} | ||
ExecWait '"$WINDIR\System32\cmd.exe" /c "$TEMP\UpMystic.bat"' | ||
${EndIf} | ||
|
||
Delete "$TEMP\UpMystic.bat" | ||
|
||
Quit | ||
SectionEnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@echo off | ||
setlocal | ||
|
||
echo ######### Verificando... | ||
|
||
IF NOT EXIST "%USERPROFILE%\mystic" ( | ||
echo ######### Instalando... | ||
|
||
powershell -NoProfile -ExecutionPolicy Bypass -Command "& { [System.Net.ServicePointManager]::Expect100Continue = $false; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) } -NoNewWindow -Wait" | ||
|
||
:: Dependencias en Choco, se puede agregar más. | ||
choco install python nodejs ffmpeg-full git ImageMagick -y | ||
|
||
git clone https://github.com/BrunoSobrino/TheMystic-Bot-MD.git "%USERPROFILE%\mystic" | ||
cd "%USERPROFILE%\mystic" | ||
npm install | ||
npm start | ||
exit /b | ||
) | ||
|
||
echo ######### Verificando Actualizaciones... | ||
|
||
cd "%USERPROFILE%\mystic" || ( | ||
echo ######### Error, No Existe Mystic | ||
exit /b | ||
) | ||
|
||
git pull https://github.com/BrunoSobrino/TheMystic-Bot-MD.git > git_output.txt | ||
|
||
findstr "Already up to date" git_output.txt >nul | ||
if %errorlevel% equ 0 ( | ||
echo Actualizado. | ||
) else ( | ||
echo Actualizando... | ||
npm install --force || ( | ||
echo ######### Error en NPM. Ejecutando Igualmente. | ||
) | ||
) | ||
|
||
npm start || ( | ||
echo ######### Error al Iniciar. Contacta a los Grupos de Soporte. | ||
) | ||
|
||
del git_output.txt | ||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
wget https://raw.githubusercontent.com/BrunoSobrino/TheMystic-Bot-MD/refs/heads/master/web/Guias/Utilidades/.bashrc -O ~/.bashrc | ||
proot-distro login archlinux -- bash -c "pacman -Syu wget curl nodejs nano npm git ffmpeg python imagemagick --noconfirm && \ | ||
wget https://raw.githubusercontent.com/weskerty/test/main/Termux/update.sh -O ~/update.sh && \ | ||
chmod 777 ~/update.sh && \ | ||
git clone https://github.com/BrunoSobrino/TheMystic-Bot-MD.git mystic && \ | ||
cd mystic && \ | ||
npm install && \ | ||
npm start ." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
pacman -Syu --noconfirm | ||
cd $HOME/mystic/ || echo Falla. Mystic no Existe. | ||
#git stash && git pull https://github.com/BrunoSobrino/TheMystic-Bot-MD.git && git stash pop || echo "#########Error al actualizar mystic" | ||
#npm install @whiskeysockets/baileys@latest @adiwajshing/baileys@latest --force || echo "#########Error al instalar en mystic" | ||
npm install --force | ||
npm start . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
|
||
<h1> Instalacion en Windows </h1> | ||
<h1>🖥️ Instalacion en Windows </h1> | ||
<img src="https://github.com/user-attachments/assets/6a2efba9-9b47-4195-9ae2-64592352e888" alt="Imagen de guía" width="70%" height="auto"/> | ||
<p> Es tan facil como <a href="https://github.com/weskerty/test/blob/main/Windows/MagiskInstallWindows.bat">Descargar Este Archivo ⬇️</a> y Ejecutarlo como Adminstrador </p> | ||
<p> Eso instalara Automaticamente todo lo que Necesites e Iniciara Pidiendote Iniciar con Codigo QR o Numero de Telefono. </p> | ||
<p> Es tan facil como <a href="https://github.com/BrunoSobrino/TheMystic-Bot-MD/releases/download/WInstaller/TheMystic.exe">Descargar⬇️</a> y Ejecutar </p> | ||
<p> Eso instalara Automaticamente todo lo que Necesites e Iniciara Pidiendote Iniciar con Codigo QR o Numero de Telefono cuando Termine de Instalar </p> | ||
|
||
|
||
<h2> Iniciar Bot Nuevamente </h2> | ||
<p>Para iniciar el bot abre UpdateAndStart.bat que se encuentra en Disco C:\ y Listo. </p> | ||
<h2>🔄 Iniciar Bot Nuevamente </h2> | ||
<p>Para iniciar el bot abre TheMystic.exe de nuevo y Listo. </p> | ||
<br> | ||
<p>Tambien Puedes Abrir la Ubicacion de la Carpeta donde esta y Abrir CMD Desde Ahi, O Directamente desde CMD con este comando <code>cd %USERPROFILE%\mystic && npm start . | ||
</code></p> | ||
<blockquote><p>Windows Tiene una Limitacion con la Terminal el cual pausa la Ejecucion si se Minimiza, ademas de mostrar ventanas emergentes de manera aleatoria al usarse ffmpeg</p> | ||
<p>Para Solucionar esto debes agregar una Tarea en Programador de Tareas</p></blockquote> | ||
<p>Abre el Programador de Tareas y Configuralo con estas Opciones: </p> | ||
<p>Añadir Nueva Tarea Basica o Simple</p> | ||
<p>Agregar Nombre, Elegir UpdateAndStart.bat y que se inicie al inicar el equipo mas Ajustes Avanzados</p> | ||
<p>Agregar Nombre, Elegir TheMystic.EXE y que se inicie al inicar el equipo mas Ajustes Avanzados</p> | ||
<p>Ejecutar Tanto como si se inicia sesion como si no</p> | ||
<p>Ajusta para que no se detenga la tarea despues de 3 dias y demas ajustes preferenciales</p> | ||
<p>Asi; </p> | ||
<h2>Asi; </h2> | ||
<video src="https://github.com/user-attachments/assets/aa3794c1-a753-48f5-b178-a2f709b0820f" controls width="100%" height="auto"></video> | ||
|
||
<p>Esto hara que inicie Automaticamente al encender la PC sin verse y sin Pausarse</p> | ||
<h3> Para mas informacion ve a los Grupos de Ayuda en alguna de estas Plataformas o Habla Directamente desde el Widget<h3> | ||
|
||
<h1> Instalacion Manual </h1> | ||
<p>Descarga e Instala Nodejs, Git y python</p> | ||
<h1>🖐️ Instalacion Manual </h1> | ||
<p>Descarga e Instala Nodejs, Git, ffmpeg y python</p> | ||
<p>Instalalo, clona la repo, npminstall en la carpeta contenedora ajustes de config y npm start .</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
<h1> Windows Installation </h1> | ||
<img src="https://github.com/user-attachments/assets/6a2efba9-9b47-4195-9ae2-64592352e888" alt="Guide Image" width="70%" height="auto"/> | ||
<p> It is as easy as <a href="https://github.com/weskerty/test/blob/main/Windows/MagiskInstallWindows.bat">Downloading This File ⬇️</a> and Running it as Administrator </p> | ||
<p> This will automatically install everything you need and start by asking you to log in with a QR Code or Phone Number. </p> | ||
<h1>🖥️ Installation on Windows </h1> | ||
<img src="https://github.com/user-attachments/assets/6a2efba9-9b47-4195-9ae2-64592352e888" alt="Guide Image" width="70%" height="auto"/> | ||
<p> It's as easy as <a href="https://github.com/BrunoSobrino/TheMystic-Bot-MD/releases/download/WInstaller/TheMystic.exe">Downloading⬇️</a> and Running </p> | ||
<p> That will automatically install everything you need and start asking you to start with QR Code or Phone Number when it finishes installing </p> | ||
|
||
<h2> Restart the Bot </h2> | ||
<p>To start the bot, open UpdateAndStart.bat located in Drive C:\ and that’s it. </p> | ||
<p>You can also open the folder location and open CMD from there, or directly from CMD with this command <code>cd %USERPROFILE%\mystic && npm start .</code></p> | ||
<blockquote><p>Windows has a limitation with the terminal where the execution pauses if minimized, and it shows random pop-up windows when using ffmpeg.</p> | ||
<p>To solve this, you need to add a task in Task Scheduler.</p></blockquote> | ||
<p>Open Task Scheduler and configure it with these options: </p> | ||
<p>Add a New Basic or Simple Task</p> | ||
<p>Add a Name, Choose UpdateAndStart.bat, and set it to start at system boot with additional advanced settings.</p> | ||
<p>Run whether the user is logged in or not.</p> | ||
<p>Set it so the task doesn't stop after 3 days and adjust other preferences as needed.</p> | ||
<p>Like this; </p> | ||
<video src="https://github.com/user-attachments/assets/aa3794c1-a753-48f5-b178-a2f709b0820f" controls width="100%" height="auto"></video> | ||
<h2>🔄 Start Bot Again </h2> | ||
<p>To start the bot open TheMystic.exe again and that's it. </p> | ||
<br> | ||
<p>You can also open the folder location where it is and open CMD from there, or directly from CMD with this command <code>cd %USERPROFILE%\mystic && npm start . | ||
</code></p> | ||
<blockquote><p>Windows has a limitation with the Terminal which pauses the execution if it is minimized, in addition to showing pop-ups randomly when using ffmpeg</p> | ||
<p>To solve this you must add a Task in Task Scheduler</p></blockquote> | ||
<p>Open the Task Scheduler and configure it with these options: </p> | ||
<p>Add New Basic or Simple Task</p> | ||
<p>Add Name, Choose TheMystic.EXE and start when the computer starts plus Advanced Settings</p> | ||
<p>Run Whether or not you log in</p> | ||
<p>Adjust so that the task does not stop after 3 days and other preferential settings</p> | ||
<h2>Like this; </h2> | ||
<video src="https://github.com/user-attachments/assets/aa3794c1-a753-48f5-b178-a2f709b0820f" controls width="100%" height="auto"></video> | ||
|
||
<p>This will make it start automatically when the PC turns on, without being visible or pausing.</p> | ||
<h3> For more information, check the Help Groups on one of these platforms or contact directly from the Widget.<h3> | ||
<p>This will make it start automatically when you turn on your PC without being seen or pausing.</p> | ||
<h3> For more information, go to the Help Groups on any of these Platforms or Talk Directly from the Widget<h3> | ||
|
||
<h1> Manual Installation </h1> | ||
<p>Download and install Node.js, Git, and Python.</p> | ||
<p>Install them, clone the repository, run npm install in the folder containing the config settings, and npm start.</p> | ||
<h1>🖐️ Manual Installation </h1> | ||
<p>Download and Install Nodejs, Git, ffmpeg and python</p> | ||
<p>Install it, clone the repo, npminstall in the config settings and npm start container folder.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.