On Tue, Mar 26, 2019 at 10:48 AM Kamal Ezzaki <[email protected]>
wrote:

> Okey i get it now , so i need to regenerate the .war isn't ?
>
>
>
A JAR file, actually - since it's an extension, you generate an extension
JAR, just like the other authentication extensions, and drop it into the
GUACAMOLE_HOME/extensions directory.  Creating the JAR is pretty easy -
create the directory structure, with the guac-manifest at the base, and the
folders and files as specified in the manifest (e.g. resources/logo.png for
the logo, if that's where the guac-manifest.json file specifies it).  Once
you have everything as you want it, zip up the folder into a JAR file.  Do
this inside the folder, so that guac-manifest.json is at the base of the
zip.

So, you have a directory structure like this:
guacamole-branding
├── guacamole.manifest
├── resources
│   └── logo.png
└── translations
    └── en.json

You would then:
$ cd guacamole-branding
$ zip -r ../guacamole-branding.jar

Then drop "guacamole-branding.jar" into your GUACAMOLE_HOME/extensions
folder and reload the application.  You might also have to clear browser
cache to get things to display properly, especially if you rework the
branding several times as you adjust things.

-Nick

Reply via email to