mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 07:52:12 +08:00
Revert changes to file output
This commit is contained in:
parent
393a4c9251
commit
bcde850bac
@ -263,9 +263,8 @@ func execBuildApplication(builder Builder, options *Options) (string, error) {
|
||||
// Compile the application
|
||||
printBulletPoint("Compiling application: ")
|
||||
|
||||
if options.Platform == "darwin" {
|
||||
if options.Platform == "darwin" && options.Arch == "universal" {
|
||||
outputFile := builder.OutputFilename(options)
|
||||
if options.Arch == "universal" {
|
||||
amd64Filename := outputFile + "-amd64"
|
||||
arm64Filename := outputFile + "-arm64"
|
||||
|
||||
@ -311,11 +310,6 @@ func execBuildApplication(builder Builder, options *Options) (string, error) {
|
||||
}
|
||||
options.ProjectData.OutputFilename = outputFile
|
||||
options.CompiledBinary = filepath.Join(options.BinDirectory, outputFile)
|
||||
} else {
|
||||
options.ProjectData.OutputFilename = outputFile
|
||||
options.ProjectData.Name = outputFile
|
||||
options.ProjectData.Info.ProductName = outputFile
|
||||
}
|
||||
} else {
|
||||
err := builder.CompileProject(options)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user