HISE Logo Forum
    • Categories
    • Register
    • Login

    Added File.getVersion

    Scheduled Pinned Locked Moved Scripting
    versionfilefunction
    6 Posts 4 Posters 453 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by

      I added this function as I have a need to check which version of a plugin users have installed on their system.

      Not that it affects anyone other than me, but on GNU/Linux JUCE hasn't implemented a way to get a file version, and there doesn't appear to be a universal way to do this. So I rolled my own that looks for the file version in the file name, which is quite common on GNU/Linux anyway.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      Dan KorneffD orangeO 2 Replies Last reply Reply Quote 2
      • Dan KorneffD
        Dan Korneff @d.healey
        last edited by

        @d-healey excellent!

        Dan Korneff - Producer / Mixer / Audio Nerd

        1 Reply Last reply Reply Quote 0
        • orangeO
          orange @d.healey
          last edited by

          @d-healey It's great news, well done!

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @orange
            last edited by

            @orange said in Added File.getVersion:

            @d-healey It's great news, well done!

            Actually it doesn't seem to work on OSX either, at least in my tests it couldn't pick up a version number from a vst3

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            ustkU orangeO 2 Replies Last reply Reply Quote 1
            • ustkU
              ustk @d.healey
              last edited by

              @d-healey I reckon this issue is known. I can't remember where I've seen this info but I know it can be picky to get some OSX file versions...

              Can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 1
              • orangeO
                orange @d.healey
                last edited by orange

                @d-healey said in Added File.getVersion:

                Actually it doesn't seem to work on OSX either, at least in my tests it couldn't pick up a version number from a vst3

                I will check it

                develop Branch / XCode 13.1
                macOS Monterey / M1 Max

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                36

                Online

                1.7k

                Users

                11.9k

                Topics

                103.5k

                Posts