From caafc87b29ac17c5b07315599cb071ea20d76502 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Mon, 24 Apr 2023 13:04:52 -0500 Subject: [PATCH] qt:resources: Sort qrc filenames Many filesystems (e.g. btrfs, apfs) return results in some internal non-alphabetical ordering, which isn't great for minimizing changes to files --- pcsx2-qt/resources/generate.sh | 2 +- pcsx2-qt/resources/resources.qrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2-qt/resources/generate.sh b/pcsx2-qt/resources/generate.sh index 1ed3cd72b8..9635667046 100644 --- a/pcsx2-qt/resources/generate.sh +++ b/pcsx2-qt/resources/generate.sh @@ -5,7 +5,7 @@ IFS=" printf "\n" printf "\t\n" -for i in $(find . -not -iname '.*' -not -iname '*.sh' -not -iname '*.qrc' -type f | cut -d'/' -f2-99); do +for i in $(find . -not -iname '.*' -not -iname '*.sh' -not -iname '*.qrc' -type f | cut -d'/' -f2-99 | sort -f); do printf "\t\t%s\n" "$i" done printf "\t\n" diff --git a/pcsx2-qt/resources/resources.qrc b/pcsx2-qt/resources/resources.qrc index 204fabacc4..ab891536c5 100644 --- a/pcsx2-qt/resources/resources.qrc +++ b/pcsx2-qt/resources/resources.qrc @@ -1,7 +1,7 @@ - icons/applications-system-24.png icons/AppIcon.png + icons/applications-system-24.png icons/black/index.theme icons/black/svg/arrow-left-right-line.svg icons/black/svg/artboard-2-line.svg