HISE Logo Forum
    • Categories
    • Register
    • Login

    extractZipFile problem

    Scheduled Pinned Locked Moved General Questions
    81 Posts 5 Posters 4.2k 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.
    • LindonL
      Lindon @d.healey
      last edited by

      @d-healey - yeah I think MacOS is a bit more permissive than Windows - no surprise - it gets hacked a lot less.. but good to know, on to the next problem - well done.

      HISE Development for hire.
      www.channelrobot.com

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

        I've added a note about this to the docs - https://github.com/christophhart/hise_documentation/commit/0ced485944bc94c2bade19ab6a037d10c6db4c04

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

        Christoph HartC 1 Reply Last reply Reply Quote 1
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          @d-healey yes but please don‘t make this the default - most people won‘t need admin access and it will look weird for a random eq plugin to ask for write access to the system folders.

          d.healeyD 1 Reply Last reply Reply Quote 1
          • d.healeyD
            d.healey @Christoph Hart
            last edited by

            @Christoph-Hart I'm just making it the default on my fork, I'm not going to make a pull request. It's only in the standalone template, not the plugin template. At the moment everything I'm doing is with my standalone downloader so it's more convenient for me to have it as the default, I might change it in the future - or better yet use cmake ;)

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

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @d.healey
              last edited by

              @d-healey the proper solution would be to add a checkbox in the hise Project settings and then it will add those lines to the exporter template.

              d.healeyD 1 Reply Last reply Reply Quote 3
              • d.healeyD
                d.healey @Christoph Hart
                last edited by

                @Christoph-Hart Ooo that's a good idea

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

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

                  Looking at adding this now. Would an extra definition be better than a checkbox since it only applies to Windows?

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

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

                    Ah I see why extra definitions aren't suitable. I'll just add a checkbox.

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

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

                      Done - https://github.com/christophhart/HISE/pull/339

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

                      LindonL 1 Reply Last reply Reply Quote 1
                      • LindonL
                        Lindon @d.healey
                        last edited by Lindon

                        @d-healey --sigh , now all sorts of permission problems on MacOS... so I dont think we are done here...

                        I cant get the app to write to any of the Plug-In folders....

                        So, all you MacOS experts ...how do I get my app to start with super user permissions....?

                        As far as I recall a WhiteBox generated installer (or MacOS when I try and start an installer) will ask for the password to start...

                        The error I am seeing is:

                        Failed to write to target file: /AAMyFirstProduct.vst3/Contents/Info.plist

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon I didn't have to do anything special on MacOS it just worked. Which OS are you testing on?

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

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @d.healey
                            last edited by

                            @d-healey Mojave 10.14.5

                            -- researching now but I think you(we) will need to turn on sandboxing in the projucer file

                            Screenshot 2022-07-21 at 15.27.45.png

                            HISE Development for hire.
                            www.channelrobot.com

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @Lindon
                              last edited by

                              @Lindon - perhaps someone (anyone!) with MacOS experience can point me in the right direction ??

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon I thought the sandbox was a way to restrict the access an app has to the system. So not having the sandbox at all would be the most restriction free setup and if perms are required the user "should" be prompted.

                                I only tested on Big Sur and Monterey. I think my other system has Mojave on it (or it might be Catalina) I'll check.

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

                                LindonL 2 Replies Last reply Reply Quote 0
                                • LindonL
                                  Lindon @d.healey
                                  last edited by

                                  @d-healey well I'm basically going on this info:

                                  https://forum.juce.com/t/elevate-rights-on-osx/32868/16
                                  https://forum.juce.com/t/fr-add-music-files-network-client-sandbox-entitlements/32866
                                  https://github.com/juce-framework/JUCE/commit/28ce837575f60fe0e00e8d77060bbfdae7bd1db6

                                  but I'm pretty clueless about Macos...

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  1 Reply Last reply Reply Quote 0
                                  • LindonL
                                    Lindon @d.healey
                                    last edited by

                                    So I tried setting the sandbox settings I needed and manually compiling n XCode, but XCode told me this warning:

                                    👎 TheInstaller - App isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'TheInstaller - App')

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @Lindon
                                      last edited by

                                      @Lindon What result do you get with the test project I posted in this thread a while back? I was testing from directly in HISE as well as compiled.

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

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @d.healey
                                        last edited by

                                        @d-healey - didnt actaully try it - I will go away and try...

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        LindonL 1 Reply Last reply Reply Quote 1
                                        • LindonL
                                          Lindon @Lindon
                                          last edited by Lindon

                                          @d-healey -- Okay well if I understand what your test is and what I'm supposed to do:

                                          1. First button select a zip
                                          2. second button select a folder
                                          3. press extract.....and get the contents of 1 inside 2

                                          Then - fail sadly... test.txt never ends up in Audio/Plug-Ins/VST3

                                          ..what's worse is that it never reports an error...

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          d.healeyD 1 Reply Last reply Reply Quote 0
                                          • LindonL
                                            Lindon @Lindon
                                            last edited by

                                            @Lindon said in extractZipFile problem:

                                            So I tried setting the sandbox settings I needed and manually compiling n XCode, but XCode told me this warning:

                                            👎 TheInstaller - App isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'TheInstaller - App')

                                            ...and I think this is why it still fails...

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            13

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.5k

                                            Posts