Forum
    • Categories
    • Register
    • Login

    Automatic license file placement, like user presets

    Scheduled Pinned Locked Moved General Questions
    11 Posts 3 Posters 45 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.
    • David HealeyD
      David Healey @dannytaurus
      last edited by David Healey

      @dannytaurus I include this in my installer, you could also do it through a HISE script.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - HISE tutorials
      My Patreon - More HISE tutorials

      dannytaurusD 1 Reply Last reply Reply Quote 1
      • dannytaurusD
        dannytaurus @David Healey
        last edited by

        @David-Healey How would you do it with script?

        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @dannytaurus
          last edited by

          @dannytaurus I'd include the license in a .js file, then use File.writeString() to put it into a file in the app data folder.

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - HISE tutorials
          My Patreon - More HISE tutorials

          dannytaurusD 1 Reply Last reply Reply Quote 1
          • dannytaurusD
            dannytaurus @David Healey
            last edited by dannytaurus

            @David-Healey Gotcha. Problem with that method is keeping two separate copies/formats of the license text in sync, assuming you also want to display it on your website/elsewhere too.

            I'm not even sure how I want to show/store the plugin license yet.

            I looked at a bunch of other (well-known) plugins on my system and can't find any licenses/EULA files for most of them.

            They either have it in a panel in the plugin, or it's just on their website.

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @dannytaurus
              last edited by David Healey

              @dannytaurus I show it in the first page of the installer and it's on the website. Adding it into the app data folder too seems like a good idea so I might do that.

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - HISE tutorials
              My Patreon - More HISE tutorials

              dannytaurusD 1 Reply Last reply Reply Quote 0
              • dannytaurusD
                dannytaurus @David Healey
                last edited by

                @David-Healey said in Automatic license file placement, like user presets:

                the first page of the installer and it's on the website

                Yeah, that's all I was going to do too. But then I thought some persisted version on the user's disk might be good too.

                I think probably the best way is to show it in the plugin, even if it's a footer link in a settings/credits panel.

                That's the only way to be sure that the license always travels with the plugin.

                Meat Beats: https://meatbeats.com
                Klippr Video: https://klippr.video

                1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk
                  last edited by ustk

                  Why not just verify if it's on the disk or not and pull it from the server?
                  Assuming plugins are connect to the internet for your license system in the first place...

                  EDIT: or even simpler, pull it at the same time you pull the plugin's license...

                  Hise made me an F5 dude, any other app just suffers...

                  dannytaurusD 1 Reply Last reply Reply Quote 1
                  • dannytaurusD
                    dannytaurus @ustk
                    last edited by

                    @ustk I don't do plugin licensing, so my plugin has no server calls at all currently.

                    Not a bad idea though, pulling it from its web URL. 🤔

                    Meat Beats: https://meatbeats.com
                    Klippr Video: https://klippr.video

                    David HealeyD 1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey @dannytaurus
                      last edited by

                      @dannytaurus said in Automatic license file placement, like user presets:

                      Not a bad idea though, pulling it from its web URL.

                      Might as well just have a button that opens the web page in that case.

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - HISE tutorials
                      My Patreon - More HISE tutorials

                      dannytaurusD 1 Reply Last reply Reply Quote 0
                      • dannytaurusD
                        dannytaurus @David Healey
                        last edited by dannytaurus

                        @David-Healey No, because this is about persisting the file to the user's disk.

                        Although as I said earlier, I think the final best answer is to display the license directly in the plugin somewhere.

                        Then nobody could ever accuse the developer of not making the license easily available.

                        Website goes down - no problem
                        User moves the plugin to another machine - no problem
                        User wipes/moves/modifies their AppData folder - no problem

                        If the license is in the plugin itself, it can't be accidentally moved, deleted or overwritten, and it can't become unavailable because of server outage.

                        Probably going this route now...

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

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

                        10

                        Online

                        2.4k

                        Users

                        13.8k

                        Topics

                        120.0k

                        Posts