(→Main) |
|||
| Line 9: | Line 9: | ||
The following layout will be used: | The following layout will be used: | ||
| − | * | + | * '''addons/''' ''<-- Note: this name may change'' |
| + | ** installed-list ''<-- List of installed packages'' | ||
** ''May we store here infos/configs that applies appwide?'' | ** ''May we store here infos/configs that applies appwide?'' | ||
| − | ** $packageName-$packageVersion/ | + | ** '''$packageName-$packageVersion/''' |
*** metadata file (see the [[../Packager|packager section]] for additional informations) | *** metadata file (see the [[../Packager|packager section]] for additional informations) | ||
*** (optional) Icon | *** (optional) Icon | ||
*** (optional) Release notes for package | *** (optional) Release notes for package | ||
| − | ** | + | ** '''$packageName2-$packageVersion2/''' |
| − | + | ||
| − | + | ||
*** metadata file | *** metadata file | ||
*** (optional) Icon | *** (optional) Icon | ||
*** (optional) Release notes for package2 | *** (optional) Release notes for package2 | ||
| − | ** | + | ** '''Packages/''' |
| − | **** | + | *** package.kns |
| + | *** package2.kns | ||
** ... | ** ... | ||
KNewStuff 2 will have all its files in one dir, one for each app using it. Default will be KStandardDirs::locate("appdata", "newstuff").
To initialize it call Bundler::initLayout(QString dir);
The following layout will be used: