mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
* 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
18 lines
356 B
Bash
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
|
|
}
|