Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify ogre-meshviewer root directory #43

Open
sercero opened this issue May 8, 2024 · 1 comment
Open

Simplify ogre-meshviewer root directory #43

sercero opened this issue May 8, 2024 · 1 comment

Comments

@sercero
Copy link
Contributor

sercero commented May 8, 2024

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
Copy link
Member

paroj commented May 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants