GithubHelp home page GithubHelp logo

Comments (5)

danoli3 avatar danoli3 commented on September 10, 2024 1

@ofTheo yes I noticed now the current_path was /

(Re: changes in apple sandboxing of file locations.

fs::weakly_canonical(fs::current_path()); = /
ofFilePath::getAbsolutePathFS(fs::current_path(), false); = /

found a way around it
fs::path startPath = ofFilePath::getCurrentExeDirFS(); = real path where I then ran from paths upwards to parent folders

from projectgenerator.

danoli3 avatar danoli3 commented on September 10, 2024

I think this is occurring randomly due to projectGenerator living at openFrameworks/projectGenerator.app/Contents/MacOS/projectGenerator

so its checking code for ../../ or ../../../ is not working. Adding dynamic up folder check

from projectgenerator.

ofTheo avatar ofTheo commented on September 10, 2024

This is App Translocation which is a security feature of macOS.
It gives the app a randomized runtime directory until you move it manually in the Finder.

We've tried a ton of things to break App Translocation but nothing works well.
I even tried a signed DMG for the whole OF package but it didn't solve it.

So the above message is normal ( but I should note is designed for people using the whole OF package ), so as soon as you move it into OF_FOLDER/projectGenerator/ the message should go away and it will see the OF path.

Feel free to close the issue if that's it.

from projectgenerator.

danoli3 avatar danoli3 commented on September 10, 2024

Fixed with auto finder oF code up folder parents.
ofPath is found by directory level of sub folders: addons / libs / scripts
prior was just sub folder "scripts" ?

Screenshot 2024-07-12 at 2 31 19 AM

from projectgenerator.

ofTheo avatar ofTheo commented on September 10, 2024

Ah sweet! Nice approach 😁

from projectgenerator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.