@@ -17,7 +17,7 @@ import (
1717var (
1818 iniConfig = flag .String ("config" , ".ueversionator" , "ueversionator config file" )
1919 userIniConfig = flag .String ("user-config" , ".uev-user" , "ueversionator user config file" )
20- baseDir = flag .String ("basedir" , "ue4 " , "base directory to download engine bundles in" )
20+ baseDir = flag .String ("basedir" , "ue " , "base directory to download engine bundles in" )
2121 bundle = flag .String ("bundle" , "editor" , "request UE build bundle" )
2222 ue5 = flag .Bool ("ue5" , false , "UE5 build compat" )
2323 fetchSymbols = flag .Bool ("with-symbols" , false , "include UE engine debug symbols" )
@@ -67,10 +67,7 @@ func ueversionator() (string, string, error) {
6767 shouldFetchSymbols := * fetchSymbols
6868
6969 if ! shouldFetchSymbols {
70- section := "ue4v-user"
71- if * ue5 {
72- section = "uev-user"
73- }
70+ section := "uev-user"
7471 symbolsConfig , err := cfg .Section (section ).GetKey ("symbols" )
7572 if err == nil {
7673 shouldFetchSymbols = symbolsConfig .MustBool (false )
@@ -89,10 +86,7 @@ func ueversionator() (string, string, error) {
8986
9087func getDownloadDirectory (path string ) string {
9188 cfg , _ := ini .LooseLoad (* userIniConfig )
92- section := "ue4v-user"
93- if * ue5 {
94- section = "uev-user"
95- }
89+ section := "uev-user"
9690 key , err := cfg .Section (section ).GetKey ("download_dir" )
9791 if err != nil {
9892 key , _ = cfg .Section (section ).NewKey ("download_dir" , "" )
0 commit comments