update
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
1
build.py
1
build.py
@@ -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
|
||||
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user