Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SceneBuilder path #42

Closed
ennerf opened this issue Feb 24, 2023 · 1 comment
Closed

SceneBuilder path #42

ennerf opened this issue Feb 24, 2023 · 1 comment
Labels
bug Something isn't working sampler

Comments

@ennerf
Copy link
Contributor

ennerf commented Feb 24, 2023

I just saw the SceneBuilder integration. That's nice 👍 The current version is unfortunately broken on Windows and macOS because the directory structure does not match the expected lib/app directory. It'd probably also be good to have it intitialized to the standard installation path.

image

I just checked multiple systems and the default installation looks like this:

Windows

var installDir = System.getProperty("user.home") + "/AppData/Local/SceneBuilder/";
var cfgDir =  installDir + "app/";
var cfgFile = cfgDir  + "SceneBuilder.cfg"

macOS

var installDir = "/Applications/SceneBuilder.app/";
var cfgDir =  installDir + "Contents/app/";
var cfgFile = cfgDir  + "SceneBuilder.cfg"

Ubuntu

var installDir = "/opt/scenebuilder/";
var cfgDir =  installDir + "lib/app/";
var cfgFile = cfgDir  + "SceneBuilder.cfg"
@mkpaz
Copy link
Owner

mkpaz commented Feb 24, 2023

Ow. Yeah, that's jpackage app image format. It totally slipped my mind. Thanks for noticing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sampler
Projects
None yet
Development

No branches or pull requests

2 participants