Skip to content

Commit 00d9d7a

Browse files
committed
v.20250616c
Build automation. Now github page will be a single html file (combination of index.html, style.css, and app.js).
1 parent 5b6c543 commit 00d9d7a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
# Zakładam, że index.html ma <head>...</head> i </body>
77
# Dodaj CSS do <head>
8+
html = html.replace('<link rel="stylesheet" href="style.css">', '');
9+
810
html = html.replace(
911
'</head>',
1012
f'<style>\n{css}\n</style>\n</head>'
@@ -16,5 +18,5 @@
1618
f'<script>\n{js}\n</script>\n</body>'
1719
)
1820

19-
with open('index-final.html', 'w') as f:
21+
with open('index.html', 'w') as f:
2022
f.write(html)

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1><a href="?">SQLMap Command Builder</a></h1>
1616
</p>
1717

1818
<p>
19-
<a href="https://github.com/vizzdoom/sqlmap-command-builder" target="_blank">Github Repository v.20250616b</a> for <a target="_blank" href="https://github.com/sqlmapproject/sqlmap/releases">SQLMap 1.9</a><br />
19+
<a href="https://github.com/vizzdoom/sqlmap-command-builder" target="_blank">Github Repository v.20250616c</a> for <a target="_blank" href="https://github.com/sqlmapproject/sqlmap/releases">SQLMap 1.9</a><br />
2020
vizzdoom/at/gmail/dot/com
2121
</p>
2222
</header>

0 commit comments

Comments
 (0)