mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 19:01:02 +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
|
// Compile the application
|
||||||
printBulletPoint("Compiling application: ")
|
printBulletPoint("Compiling application: ")
|
||||||
|
|
||||||
if options.Platform == "darwin" {
|
if options.Platform == "darwin" && options.Arch == "universal" {
|
||||||
outputFile := builder.OutputFilename(options)
|
outputFile := builder.OutputFilename(options)
|
||||||
if options.Arch == "universal" {
|
|
||||||
amd64Filename := outputFile + "-amd64"
|
amd64Filename := outputFile + "-amd64"
|
||||||
arm64Filename := outputFile + "-arm64"
|
arm64Filename := outputFile + "-arm64"
|
||||||
|
|
||||||
@ -311,11 +310,6 @@ func execBuildApplication(builder Builder, options *Options) (string, error) {
|
|||||||
}
|
}
|
||||||
options.ProjectData.OutputFilename = outputFile
|
options.ProjectData.OutputFilename = outputFile
|
||||||
options.CompiledBinary = filepath.Join(options.BinDirectory, outputFile)
|
options.CompiledBinary = filepath.Join(options.BinDirectory, outputFile)
|
||||||
} else {
|
|
||||||
options.ProjectData.OutputFilename = outputFile
|
|
||||||
options.ProjectData.Name = outputFile
|
|
||||||
options.ProjectData.Info.ProductName = outputFile
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
err := builder.CompileProject(options)
|
err := builder.CompileProject(options)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user