file_manager: Emit a compiler error when no asset dir is defined for mobile platform

This may save some $HOMEs from being rm -rf'd.
This commit is contained in:
Sebastian Krzyszkowiak 2020-06-24 21:06:49 +02:00 committed by Deve
parent a4b9900aee
commit b74dce3887

View File

@ -221,6 +221,8 @@ FileManager::FileManager()
m_stk_assets_download_dir += "/Library/Application Support/SuperTuxKart/stk-assets/";
#elif defined (ANDROID)
m_stk_assets_download_dir += "/stk-assets/";
#else
#error You must set m_stk_assets_download_dir to appropriate place for your platform
#endif
#else