5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 00:59:34 +08:00

Build added win32 compatibility (#1238)

This commit is contained in:
fengweiqiang 2022-03-12 14:29:25 +08:00 committed by GitHub
parent 3d12935e2e
commit f4d1d02ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -225,6 +225,7 @@ func AddBuildSubcommand(app *clir.Cli, w io.Writer) {
"windows",
"windows/amd64",
"windows/arm64",
"windows/386",
})
outputBinaries := map[string]string{}

View File

@ -287,6 +287,7 @@ func compileResources(options *Options) error {
archs := map[string]winres.Arch{
"amd64": winres.ArchAMD64,
"arm64": winres.ArchARM64,
"386": winres.ArchI386,
}
targetArch, supported := archs[options.Arch]
if !supported {