frontend/generate-webxdc-manifest.sh
2023-03-26 16:11:32 +04:00

8 lines
245 B
Bash
Executable File

#!/bin/sh
echo -n 'name = "'
# Get the contents of the `<title>` element of `index.html`
grep -oP "(?<=<title>).*?(?=</title>)" index.html | tr -d '\n' \
&& echo '"' \
&& echo -n 'source_code_url = "https://github.com/WofWca/vikunja-frontend"'