Last active
August 21, 2022 14:56
-
-
Save Hezkore/1c6439c151efc38dda73bbd2e5c48b06 to your computer and use it in GitHub Desktop.
Ashen Empires launcher
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
#!/bin/bash | |
# -*- Mode: sh; coding: utf-8; indent-tabs-mode: t; tab-width: 4 -*- | |
# | |
# By Hezkore | |
echo "Starting Pixel Mine Launcher..." | |
wine PixelMineLauncher.exe &> /dev/null & | |
sleep 5 | |
echo "Waiting for Ashen Empires to start..." | |
while ! pgrep -x "client.exe" > /dev/null; do | |
sleep 1 | |
done | |
echo "Found Ashen Empires!" | |
pkill -9 -f PixelMine | |
sleep 1 | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment