thilojaeggi / WinGetty

An open source REST Backend for creating a private WinGet Repo without having to rely on cloud dependencies.
https://wingetty.dev
GNU Affero General Public License v3.0
168 stars 15 forks source link

Wingetty name in header #35

Closed Narrowcastingscherm closed 2 months ago

Narrowcastingscherm commented 7 months ago

I have wingetty running in a docker container on a Synology, i want to know where can i change the name wingetty that is in the header on the page, want to change the name to company name together with a logo.

eujoanderson commented 5 months ago

You need to access the container using docker, which would be something like this:

docker exec -it wingetty bash

If bash is not installed, just install it:

docker exec -it wingetty apk add vim bash

After that, access the path:

vim /app/templates/nav.j2

Then just go to line 9 of this nav.j2 file and change the Wingetty name to whatever you want:

<span class="font-semibold text-2xl {% if config.IS_CLOUD %}text-lg leader-5{% endif %} tracking-tight mb-0.5"> < WinGetty > {% if config.IS_CLOUD %}< br>

On the line you can change the logo to point to whatever you want:

   <img width="61" height="40" src="{{ url_for('static', filename='img/wingetty_small.png')}}" alt="Logo"
                class="h-10 w-auto mr-2">