Discover git install

This commit is contained in:
2024-10-03 10:50:39 +02:00
parent 87423ad3df
commit 2ba2d34f01
4 changed files with 5 additions and 6 deletions

4
.gitignore vendored
View File

@@ -1,2 +1,2 @@
image-transcoder.exe
main.log
*.exe
*.log

2
go.mod
View File

@@ -1,4 +1,4 @@
module image-transcoder
module itrans
go 1.23.0

View File

@@ -3,7 +3,7 @@ package main
import (
"flag"
"fmt"
"image-transcoder/codec"
"itrans/codec"
"io"
"log"
"os"
@@ -37,7 +37,7 @@ func init() {
}
func main() {
quality := flag.Int("quality", 80, "Quality of the image")
quality := flag.Int("quality", 100, "Quality of the image")
to := flag.String("to", ".jpg", "Extension to transcode to")
nosafe := flag.Bool("nosafe", false, "Prevents backup of the original before encoding")
rm := flag.Bool("rm", false, "Removes the original after transcoding")

1
sync
View File

@@ -1 +0,0 @@
image-transcoder.exe,"C:\Program Files\Git\usr\bin\itrans.exe"