winbench / bench

Portable Software Environment for Windows
https://winbench.org
MIT License
20 stars 3 forks source link

Allow individual custom scripts for custom apps #72

Closed mastersign closed 8 years ago

mastersign commented 8 years ago

Currently automation for an app, defined in the custom app library, can only be implemented in the config\setup.ps1 and config\env.ps1 hook scripts. That is not very practical, if you want to share the automation of an app, and there is no way to implement a custom extraction inside the custom configuration.

mastersign commented 8 years ago

A solution would be to introduce a sub-folder in the config dir, maybe apps, which is searched for custom scripts. That would even allow to override included custom scripts of Bench apps.

In case a custom script is found in config\apps and auto\apps the one in config\apps is executed.