Fix packaging universal builds

This commit is contained in:
Lea Anthony
2021-03-25 21:02:16 +11:00
parent 2dd8833e67
commit d2f233abfb

View File

@@ -149,6 +149,7 @@ func Build(options *Options) (string, error) {
fs.DeleteFile(filepath.Join(options.BuildDirectory, amd64Filename))
fs.DeleteFile(filepath.Join(options.BuildDirectory, arm64Filename))
projectData.OutputFilename = outputFile
options.CompiledBinary = filepath.Join(options.BuildDirectory, outputFile)
} else {
err = builder.CompileProject(options)
if err != nil {