ogre-meshviewer
ogre-meshviewer copied to clipboard
Simplify `ogre-meshviewer` root directory
Hello,
I think it would be cool to have a root folder like this for ogre-meshviewer:
I moved everything into "system" so that most files are hidden.
This means less clutter for the Windows users.
What do you think?
The necessary changes go into ogre-meshviewer.bat:
@echo off
REM We save the current PATH for when people execute this from command line
SET OLD_PATH=%PATH%
SET PATH=%CD%\system;%PATH%
SET PYTHONPATH=%CD%
set OGRE_MIN_LOGLEVEL=3
python ogre_mesh_viewer.py %1
REM Restore the original PATH
SET PATH=%OLD_PATH%
And also create_win_package.bat
I think a better solution would be to create an installer, so users do not have to navigate to this folder in the first place.