Skip to content

Commit

Permalink
QoL imrpovements
Browse files Browse the repository at this point in the history
  • Loading branch information
rifsxd committed Mar 6, 2024
1 parent a940761 commit b32efe1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions cmd/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type DVPLFooter struct {
// Info variables
const Dev = "RifsxD"
const Name = "DVPL_LZ4 CLI TOOL"
const Version = "1.1.2"
const Version = "1.1.3"
const Repo = "https://github.com/rifsxd/dvpl_lz4"
const Web = "https://rxd-mods.xyz"
const Commit = "05/03/2024"
Expand All @@ -69,7 +69,8 @@ func Cli() {

config, err := parseCommandLineArgs()
if err != nil {
log.Printf("%sError%s parsing command-line arguments: %v", RedColor, ResetColor, err)
log.Printf("%sError%s parsing command-line arguments: %v -> %sFallback to GUI mode!%s", RedColor, ResetColor, err, YellowColor, ResetColor)
Gui() // Fallback to GUI mode if parseCommandLineArgs() errors out
return
}

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ package main
import "github.com/rifsxd/dvpl_lz4/cmd"

func main() {
cmd.Gui()
cmd.Cli() // change it to 'cmd.Gui()' for it to lauch gui app directly instead from gui mode flag
}
Binary file modified resource.syso
Binary file not shown.
8 changes: 4 additions & 4 deletions versioninfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"FileVersion": {
"Major": 1,
"Minor": 1,
"Patch": 1,
"Patch": 3,
"Build": 0
},
"ProductVersion": {
"Major": 1,
"Minor": 1,
"Patch": 1,
"Patch": 3,
"Build": 0
},
"FileFlagsMask": "3F",
Expand All @@ -21,8 +21,8 @@
"StringFileInfo": {
"LanguageName": "en-US",
"LegalCopyright": "Copyright © 2024 RXD-MODS",
"FileVersion": "1.1.1.0",
"ProductVersion": "1.1.1.0",
"FileVersion": "1.1.3.0",
"ProductVersion": "1.1.3.0",
"InternalName": "dvpl_tool cli/gui",
"OriginalFilename": "main.go",
"ProductName": "DVPL_TOOL CLI/GUI",
Expand Down

0 comments on commit b32efe1

Please sign in to comment.