EmuDeck/functions/setMSG.sh
Dragoon Dorise 00a8f1c19c
New paths (#1381)
* new paths

* /

* EmuDeck/

* mv

* no &

* ESDE new location

* ESDE new path

* no symlink load

* bigpemu new path

* force move

* global vars

* oopsie

* missing $emudeckBackend

* better migration detection

* Keep Appimages in Applications

* Keep Appimages in Applications
2025-01-02 13:42:31 +01:00

18 lines
356 B
Bash

#!/bin/bash
setMSG() {
if [ -z $progressBar ]; then
progressBar=0
fi
progressBar=$((progressBar + 5))
# We prevent the zenity to close if we have too much MSG, the classic eternal 99%
if [ $progressBar -eq 95 ]; then
progressBar=90
fi
echo "$progressBar" > "$emudeckLogs/msg.log"
echo "# $1" >> "$emudeckLogs/msg.log"
echo "$1"
sleep 0.5
}