OGRECave / ogre-meshviewer

Viewer for .mesh and .scene files as consumed by OGRE as well as any format supported by assimp
MIT License
56 stars 13 forks source link

Simplify `ogre-meshviewer` root directory #43

Open sercero opened 1 month ago

sercero commented 1 month ago

Hello,

I think it would be cool to have a root folder like this for ogre-meshviewer: image

I moved everything into "system" so that most files are hidden. image

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

paroj commented 1 month ago

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.