-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Option for installer-script per package, that is run after Reapack installed #50
Comments
Why not provide the optional content as another package in the same index? |
For this particular usecase, making the docs optional would even work. However, I plan on doing some more customizable docs in the future, where I need the flexibility of a script and where an optional package would not help.
but what I would prefer is to give them the option of using
instead, which is easier to remember and faster to type. For this to work, I need to install a lua-file at a certain-destination. I had thought about asking you for this option in ReaPack when I realized, that the position of the init.lua file depends on the operating system Reaper is running on AND if it's installed portable or not. So, I would like to place them using an install-script in the appropriate locations so users could use require("ultraschall_api") on all systems regardless. Sure, most of these use-cases could be solved by inidividual solutions one way or another but all of them I could solve with an install-script the exact way I need to do this to not bother the user. I also have plans for future repos, that have even more different usecases for such an install-script(but their development isn't far enough yet to describe these usecases properly). I have tried to workaround this stuff with other ways, but everytime I think about ways, I end up with the same idea of "this should be done while ReaPack-installation by me using an install-script while Ultraschall-API is installed to not bother the user with additional management they have to do by hand". (Sorry for the overly long reply... 🙈) ) |
I would like to ask for a way to run an installer script right after ReaPack has installed my scripts on the user's computer, so I can do some preparations/setup that I can do only on the user's computer, not beforehand.
Lokasenna's Gui Lib needs a setup-script to be run before it can be used, which could be done during ReaPack update with such a script, so the user doesn't need to do it(and accidentally forget it) anymore.
My personal usecase would be the following:
When somebody installs Ultraschall-API, not everyone develops so not everyone needs my extensive html-docs. So I would like to be able to just generate them, if the user wants to right after the installation of Ultraschall-API using ReaPack.
That way, I just need to deploy my source-files but can omit the html-files and reduce the size of the installation-package by 14MB. So only the users needing my docs would get them generated.
Currently, I would need to have two index-files presented, one with the docs, one without, but this is too much hassle and therefore I install everything instead.
So a way to run an install-script(that gets immediately deleted after that) would be awesome for such tasks.
I'm not sure, whether it would be a good idea to have two options for it:
The text was updated successfully, but these errors were encountered: