Skip to content
Valéry Letroye edited this page Feb 18, 2021 · 14 revisions

Technically said, Mods Packager manages the Structure required to create a Package for Synology.

Here under is an high level overview of my Mods Packager. A more complete introduction is available in the ReadMe. And for a detailed presentation, look a the other pages of this Wiki.

Main Screen

In the main screen, you can:

  • configure your Package with main information and
  • add one item for each shortcut to be added into your DSM

Items can be:

  • Url’s,
  • Shell Scripts or
  • php/html applications

Script Editor

You can edit your Shell Scripts within an editor with syntax highlighting, based on ScintillaNet. Those Shell Scripts can be:

  • either items to be added as shortcuts onto your DSM
  • or start/stop and pre/post-install/uninstall/upgrade Scripts to be used by your package (see next screenshot for the menu to add such Scripts).

Runner Editor

A default Php Scripts is used to execute the Shell Scripts on your NAS and display the output in real time. I named that Php Script a “runner”. A custom Runner can be created for each Shell Script (See the tab “Runner Editor” in the screenshot above).

Wizard Editor

You can add "Wizards UI" in your package, such as :

  • install Wizards,
  • uninstall Wizards or
  • upgrade Wizards

Next, using an Editor based on ZeToken’s Json Editor, you can edit those Wizards. Context menus will guide you in adding Steps in your wizards and Items in those Steps (like Text Boxes, Combo Boxes, Radio Buttons, Check Boxes, Password Boxes).

(Notice the menu to Edit the Default Runner, Start/Stop Scripts and Pre/Post install/uninstall/upgrade Scripts mentioned upper).

The Wizard Editor comes with JSON Syntax highlighting and Wizard Preview.