#Extending Tauri app with React extensions
14 messages · Page 1 of 1 (latest)
Well this methodology might help, there is a Software called DaVinci Resolve for video editing, if you want to do a plugin for it you should do the following steps
- Create a dir with a predefined (specified) structure
- Add the content or the logic (in your case styles, components, etc...) in the file structure as they should be (this needs to be documented)
- Compress the folder into a zip file and change the .zip ext to another thing (choose your own) may be
.flying
And in order to install the package the user should specify the path to that special zip file that we have just described, then you would copy it to where you put the app data, this will help you organize the ext as each file represents an extension, then when you want to load or enable a plugin you just unzip the file (maybe the content would stay in the memory) and do your needed stuff
I hope this helps you, I would be happy to hear from you if you need any other help
What do you use for design?
This seems to be bootstrap for me
Anyway, I think you might need to specify what things that the user/developer wants to customize
After you answer this question it might be easier to go forward
It is like developing an api for your application
You decide what you would like extension developer to customize
So we need to answer the what and then we can discuss the how
then you can for example fetch these data from a json file that the plugin developer make and change the design accordingly
Well, I don't think that allowing the package developer to access Your whole packages is a good idea
That is why the browser restrict the access for security reasons
If the developer can invoke a command it means he can invoke any command he would like which isn't safe
However it seems like there is a method to achieve that