Halyde Documentation

Powerful, modular, universal

User Tools

Site Tools


ag:server_side_functionality

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ag:server_side_functionality [2026/01/21 16:18] – external edit 127.0.0.1ag:server_side_functionality [2026/03/21 15:50] (current) – Added segment about virtual packages. wahplus
Line 53: Line 53:
   * ``files`` is a list of files that will be downloaded when installing your package relative to the ``mainDirectory`` (optional);   * ``files`` is a list of files that will be downloaded when installing your package relative to the ``mainDirectory`` (optional);
   * ``directories`` is a list of directories that will be created when installing your package relative to the ``mainDirectory`` (optional);   * ``directories`` is a list of directories that will be created when installing your package relative to the ``mainDirectory`` (optional);
-  * ``config`` is a list of config files for your package. They will be created upon installation, but not changed upon updating. When removing the package, the user will be asked whether to remove the config files or not.+  * ``config`` is a list of config files for your package. They will be created upon installation, but not changed upon updating. When removing the package, the user will be asked whether to remove the config files or not (optional);
   * ``scripts`` is for scripts that will be run before/after installation/update of your package (optional):   * ``scripts`` is for scripts that will be run before/after installation/update of your package (optional):
       * ``pre-install`` is the path of the script that will be run before installing/updating your package relative to the ``mainDirectory`` (optional);       * ``pre-install`` is the path of the script that will be run before installing/updating your package relative to the ``mainDirectory`` (optional);
Line 72: Line 72:
 } }
 </code> </code>
 +
 +And there are also virtual packages, which act the same as groups except you pick one package instead of installing all of them. They are made the same way as groups, just with ``type`` set to ``virtual-package``.
  
 //Note that you may only use lowercase letters, numbers and dashes (``-``) in group names.// //Note that you may only use lowercase letters, numbers and dashes (``-``) in group names.//
ag/server_side_functionality.1769012322.txt.gz · Last modified: by 127.0.0.1