Akryum / guijs

🐣️ The app that makes your #devlife easier.
https://guijs.dev
MIT License
1.27k stars 42 forks source link

version numbers broken on macOS #69

Open core-code opened 4 years ago

core-code commented 4 years ago

i've downloaded version 0.1.19 but when selecting it in the Finder, it claims to be version 0.1.0:

Screenshot 2020-03-29 at 22 02 02

neither the CFBundleShortVersionString (0.1.0) nor the CFBundleVersion (20200301.105137) have any correlation with the real version number 0.1.19

jbolda commented 4 years ago

I believe that is technically the tauri app shell version: https://github.com/Akryum/guijs/blob/master/packages/%40guijs/tauri-app/src-tauri/Cargo.toml#L3

I am not certain how to see the guijs version myself.

core-code commented 4 years ago

the values are stored in the Info.plist file in the app bundle.

normally your build system should set them right. if it didn't you also just adjust them afterwards:


/usr/libexec/PlistBuddy -c "Set CFBundleShortVersionString ${version}" guijs.app/Contents/Info.plist
/usr/libexec/PlistBuddy -c "Set CFBundleVersion ${version}" guijs.app/Contents/Info.plist