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

Customize output directory of package:discover #14

Open
ajmeese7 opened this issue Mar 28, 2022 · 4 comments
Open

Customize output directory of package:discover #14

ajmeese7 opened this issue Mar 28, 2022 · 4 comments
Assignees

Comments

@ajmeese7
Copy link
Member

For the sounds package I would like the sound files to be output directly into the sounds directory, instead of sounds/Sounds. I have a few other things in this vein that I would like to accomplish. but guidance on how to accomplish this task should suffice.

Do you have any ideas on how I can modify this?

@andersevenrud
Copy link
Member

If I understand this correctly, it would also require changes to the client-side of things.

All package assets are put into their own base directory so that everything is isolated. If the target directory is below this, it would open up the chances of packages overriding files with similar names.

@ajmeese7
Copy link
Member Author

Do you have an idea of where I would start? It looks like client/src/adapters/vfs/apps.js is what I will need to modify on the client, but I'm not sure what the best approach from there is and whether or not I need to change anything within the actual CLI package

@andersevenrud
Copy link
Member

I'll have to look into this. My memory is a bit rusty.

Just curious...why even do this ? :)

@ajmeese7
Copy link
Member Author

Sounds good, no real rush. And my use case is I created a static-wallpapers package to offer the users a predefined selection of wallpaper images to choose from as the starting directory when opening the wallpaper file dialog, and currently the directory is wallpapers/Wallpapers and I'd like to avoid the nesting if possible for a cleaner experience

@andersevenrud andersevenrud self-assigned this Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants