Skip to content

Commit

Permalink
tmpDir changed from hardcoded to crossplatform os.TempDir()
Browse files Browse the repository at this point in the history
  • Loading branch information
zdmitrynsk committed Oct 1, 2024
1 parent abe8faa commit 4521dec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ import (
)

const (
tmpDir = "/tmp"
namespace = "http://schemas.android.com/apk/res/android"
versionCodeAttr = "versionCode"
versionNameAttr = "versionName"
)

var tmpDir = os.TempDir()

type Config struct {
versionCode int32
versionName string
Expand Down

0 comments on commit 4521dec

Please sign in to comment.