mirror of
https://github.com/lobomfz/VIctory-xmem.git
synced 2026-12-06 05:48:38 +00:00
fix(tools): resolve session-fps' default log from the repo root
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
# The stats: frame lines are 5 s averages. Menus and loading are left out by
|
||||
# the draws threshold; use 0 to include every sample.
|
||||
set -euo pipefail
|
||||
log=${1:-local/run/last.log}
|
||||
root=$(cd "$(dirname "$(readlink -f "$0")")/.." && pwd)
|
||||
log=${1:-$root/local/run/last.log}
|
||||
min=${2:-2000}
|
||||
if [ ! -f "$log" ]; then
|
||||
echo "no log: $log" >&2
|
||||
|
||||
Reference in New Issue
Block a user