mirror of
https://github.com/AssetRipper/TypeTreeDumps.git
synced 2026-11-12 18:08:34 -10:00
18 lines
285 B
Bash
18 lines
285 B
Bash
#!/bin/bash
|
|
|
|
. $(dirname "$0")/configuration.sh
|
|
|
|
cd $path_to_UnitySetup
|
|
vers=($(ls))
|
|
cd ..
|
|
|
|
for ((i=0; i<${#vers[@]}; i++));
|
|
do
|
|
if [ ${vers[i]:0:11} = "UnitySetup-" ]
|
|
then
|
|
echo ${vers[i]:11:-4}
|
|
elif [ ${vers[i]:0:13} = "UnitySetup64-" ]
|
|
then
|
|
echo ${vers[i]:13:-4}
|
|
fi
|
|
done |