This commit is contained in:
naielv
2025-08-15 17:10:58 +02:00
parent ba3cc7424d
commit a9b43a7f7d
4 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ jobs:
with:
python-version: '3.11'
- name: "Build Files"
run: "python3 build.py ${{github.ref_name}}"
run: "python3 build.py 'TeleSec para Windows'"
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:

View File

@@ -31,6 +31,7 @@ shutil.copytree("assets","dist", dirs_exist_ok=True)
def replace_handles(string):
string = string.replace("%%PREFETCH%%", PREFETCH)
string = string.replace("%%VERSIONCO%%", VERSIONCO)
string = string.replace("%%TITLE%%", sys.argv[1])
string = string.replace("%%ASSETSJSON%%", json.dumps(ASSETS, ensure_ascii=False))
return string

View File

@@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="manifest.json" />
<title>TeleSec</title>
<title>%%TITLE%%</title>
<link rel="icon" type="image/png" href="static/TeleSec.jpg" />
<link href="static/euskaditech-css/simple.css" rel="stylesheet" />
<link href="static/toastr.min.css" rel="stylesheet" />

View File

@@ -3,7 +3,7 @@ PAGES.index = {
Title: "Inicio",
index: function() {
container.innerHTML = `
<h1>¡Hola, ${SUB_LOGGED_IN_DETAILS.Nombre}!</h1>
<h1>¡Hola, ${SUB_LOGGED_IN_DETAILS.Nombre}! Bienvenidx a %%TITLE%%</h1>
<em>Utiliza el menú superior para abrir un modulo</em>
<br><br>
<button class="btn1" onclick="LogOutTeleSec()">Cerrar sesión</button>