Browse Source

dump settings for demonstration purposes

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
f5c49c8c55
  1. 2
      .gitignore
  2. 12
      webapp/install-mts.sh

2
.gitignore

@ -9,3 +9,5 @@
/webapp/program.log /webapp/program.log
/webapp/WIP /webapp/WIP
/webapp/debug.txt /webapp/debug.txt
/webapp/settings-dump.txt
/webapp/settingstypes-list.txt

12
webapp/install-mts.sh

@ -165,7 +165,7 @@ else
# cp -f "$flag_dir/mods/LICENSE" "$HOME/minetest/games/ENLIVEN/mods/LICENSE" # cp -f "$flag_dir/mods/LICENSE" "$HOME/minetest/games/ENLIVEN/mods/LICENSE"
fi fi
popd popd
cd .. pushd ..
src="patches/subgame/menu" src="patches/subgame/menu"
dst="$HOME/minetest/games/ENLIVEN/menu" dst="$HOME/minetest/games/ENLIVEN/menu"
echo "updating '$dst' from '$src/'..." echo "updating '$dst' from '$src/'..."
@ -293,6 +293,16 @@ if [ "@$enable_client" = "@true" ]; then
fi fi
fi fi
fi fi
popd
settings_dump="`pwd`/settings-dump.txt"
settings_types_list="`pwd`/settingstypes-list.txt"
echo "Creating $settings_dump..."
#grep -r `pwd`/linux-minetest-kit/minetest/games/Bucket_Game -e "setting_get" > $settings_dump
pushd linux-minetest-kit/minetest/games
grep -r Bucket_Game -e "setting_get" > $settings_dump
grep -r Bucket_Game -e "minetest.settings:get" >> $settings_dump
find Bucket_Game -name "settingtypes.txt" > $settings_types_list
popd
echo "Done." echo "Done."
echo echo
echo echo

Loading…
Cancel
Save