mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-12 09:41:18 +02:00
Readme updates and fixes
This commit is contained in:
parent
662b29a27a
commit
cae6d5f1cb
5 changed files with 14 additions and 9 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -125,3 +125,6 @@ debian/howdy
|
||||||
|
|
||||||
# Built Visual Studio Code Extensions
|
# Built Visual Studio Code Extensions
|
||||||
*.vsix
|
*.vsix
|
||||||
|
|
||||||
|
# Meson
|
||||||
|
subprojects/
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
![](https://boltgolt.nl/howdy/banner.png)
|
![](https://boltgolt.nl/howdy/banner.png)
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://travis-ci.org/boltgolt/howdy">
|
|
||||||
<img src="https://img.shields.io/travis/boltgolt/howdy/master.svg">
|
|
||||||
</a>
|
|
||||||
<a href="https://github.com/boltgolt/howdy/releases">
|
<a href="https://github.com/boltgolt/howdy/releases">
|
||||||
<img src="https://img.shields.io/github/release/boltgolt/howdy.svg?colorB=4c1">
|
<img src="https://img.shields.io/github/release/boltgolt/howdy.svg?colorB=4c1">
|
||||||
</a>
|
</a>
|
||||||
|
@ -13,6 +10,12 @@
|
||||||
<a href="https://www.buymeacoffee.com/boltgolt">
|
<a href="https://www.buymeacoffee.com/boltgolt">
|
||||||
<img src="https://img.shields.io/badge/endpoint.svg?url=https://boltgolt.nl/howdy/shield.json">
|
<img src="https://img.shields.io/badge/endpoint.svg?url=https://boltgolt.nl/howdy/shield.json">
|
||||||
</a>
|
</a>
|
||||||
|
<a href="https://actions-badge.atrox.dev/boltgolt/howdy/goto?ref=beta">
|
||||||
|
<img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fboltgolt%2Fhowdy%2Fbadge%3Fref%3Dbeta&style=flat&label=build&logo=none">
|
||||||
|
</a>
|
||||||
|
<a href="https://aur.archlinux.org/packages/howdy">
|
||||||
|
<img src="https://img.shields.io/aur/votes/howdy?color=4c1&label=aur%20votes">
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Howdy provides Windows Hello™ style authentication for Linux. Use your built-in IR emitters and camera in combination with facial recognition to prove who you are.
|
Howdy provides Windows Hello™ style authentication for Linux. Use your built-in IR emitters and camera in combination with facial recognition to prove who you are.
|
||||||
|
|
|
@ -186,8 +186,8 @@ for line in fileinput.input(["/etc/howdy/config.ini"], inplace=1):
|
||||||
print("Camera ID saved")
|
print("Camera ID saved")
|
||||||
|
|
||||||
# Secure the howdy folder
|
# Secure the howdy folder
|
||||||
handleStatus(sc(["chmod 744 -R /lib/security/howdy/"], shell=True))
|
handleStatus(sc(["chmod 755 -R /lib/security/howdy/"], shell=True))
|
||||||
handleStatus(sc(["chmod 744 -R /etc/howdy/"], shell=True))
|
handleStatus(sc(["chmod 755 -R /etc/howdy/"], shell=True))
|
||||||
|
|
||||||
# Allow anyone to execute the python CLI
|
# Allow anyone to execute the python CLI
|
||||||
os.chmod("/lib/security/howdy", 0o755)
|
os.chmod("/lib/security/howdy", 0o755)
|
||||||
|
|
|
@ -18,6 +18,5 @@ if "EDITOR" in os.environ:
|
||||||
elif os.path.isfile("/etc/alternatives/editor"):
|
elif os.path.isfile("/etc/alternatives/editor"):
|
||||||
editor = "/etc/alternatives/editor"
|
editor = "/etc/alternatives/editor"
|
||||||
|
|
||||||
config_path = "/etc/howdy"
|
|
||||||
# Open the editor as a subprocess and fork it
|
# Open the editor as a subprocess and fork it
|
||||||
subprocess.call([editor, os.path.dirname(config_path) + "/config.ini"])
|
subprocess.call([editor, "/etc/howdy/config.ini"])
|
||||||
|
|
|
@ -19,7 +19,7 @@ it will be automatically pulled from git at the subproject's pinned version.
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
meson setup build
|
meson setup build
|
||||||
meson compile -C build
|
ninja -C build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
Loading…
Reference in a new issue