fixed not being able to resolve homedir key path

This commit is contained in:
partisan 2025-01-18 17:03:14 +01:00
parent c4693c4b14
commit 3bbc65268d
4 changed files with 15 additions and 5 deletions

View file

@ -69,7 +69,7 @@ func init() {
func printHelp() {
fmt.Println("Usage: go run . -p=<path-to-build> -t=<target> [-c|--compress] [-v|--version=<version>] [-component=<component>] [-arch=<architecture>] [-release=<release>] [-platform=<platform>]")
flag.PrintDefaults()
fmt.Println("Example: go run . --upload -c --upload-path=./mozilla-release/obj-x86_64-pc-linux-gnu/dist/bin -a")
fmt.Println("Example: go run . --upload -c -a")
os.Exit(0)
}
@ -277,7 +277,7 @@ func PackageAndUploadProcess(buildDir string) {
fmt.Printf("Compression efficiency: %.2f%%\n", efficiency)
// Display compressed directory path
fmt.Printf("Compressed dir: %s", pathToUse)
fmt.Printf("Compressed dir: %s\n", pathToUse)
// If not uploading, we're done
if !upload {