This commit is contained in:
Rien Maertens 2021-11-04 20:07:43 +01:00
parent 6ceaa5abfa
commit 9deee838c9
No known key found for this signature in database
GPG Key ID: AE66CE42F1AF9DEF
3 changed files with 9 additions and 2 deletions

2
Cargo.lock generated
View File

@ -204,7 +204,7 @@ dependencies = [
[[package]]
name = "restream"
version = "1.1.0"
version = "1.2.0"
dependencies = [
"anyhow",
"clap",

View File

@ -1,6 +1,6 @@
[package]
name = "restream"
version = "1.1.0"
version = "1.2.0"
authors = ["Rien Maertens <rien.maertens@posteo.be>"]
edition = "2018"

View File

@ -1,5 +1,8 @@
#!/bin/sh
# Current reStream.sh version
version="1.2.0"
# default values for arguments
remarkable="10.11.99.1" # remarkable connected through USB
landscape=true # rotate 90 degrees to the right
@ -15,6 +18,10 @@ unsecure_connection=false # Establish a unsecure connection that is faster
# loop through arguments and process them
while [ $# -gt 0 ]; do
case "$1" in
-v | --version)
echo "reStream version: v$version"
exit
;;
-p | --portrait)
landscape=false
shift