OpenBVE icon indicating copy to clipboard operation
OpenBVE copied to clipboard

OpenBVE Mac binary version always reports as v1.4.2, regardless of any official app binary version bump

Open andylin2004 opened this issue 2 years ago • 3 comments

Description

If I press the space button to quick look on the OpenBVE app (or go to the Get Info option on the right click menu), I always end up seeing the same version number, regardless of the actual version of OpenBVE it is right now.

I would try to fix the issue now, but it would only work until we have to bump the version again. There should be a more permanent solution rather than manually untar and retaring the app container for each release (such as maybe an addition to the build process code?)

Reproduction

Go to the directory where the OpenBVE app is currently in, then press the space bar to go into quick look, or right click and click on the Get Info option. The version will be reported as 1.4.2, when it should actually be 1.8.4.2 (or the current release version).

Route

N/A

Train

N/A

Logs

N/A

Related information

  • macOS Ventura beta 9
  • MacBook Air M1, 512GB/8GB

Screenshot

Screenshot 2022-10-03 at 12 37 40 AM Screenshot 2022-10-03 at 12 37 23 AM

andylin2004 avatar Oct 03 '22 04:10 andylin2004

Good point :/

The trouble was that the Mac app needs the internal stuff starting with a period, and specific permissions on it's internal bits. These are hidden / useless on anything else, and were causing issues with the build, hence the quick fix several years ago of just tarring the thing up.

leezer3 avatar Oct 03 '22 13:10 leezer3

Try the build from today, and see what that looks like. Version number should now match that in the main menu.

I think this should work, but not got a Mac to hand.

leezer3 avatar Oct 03 '22 14:10 leezer3

I think they're slightly mismatched, but its on track

andylin2004 avatar Oct 04 '22 16:10 andylin2004