mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
cmd/ebitenmobile: Bug fix: os.WriteFile is not defined at Go 1.15
Updates #1667
This commit is contained in:
parent
cf1a91a344
commit
cb0f4c4378
@ -106,7 +106,7 @@ func prepareGomobileCommands() error {
|
||||
if err := runGo("mod", "init", modname); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := os.WriteFile("tools.go", []byte(fmt.Sprintf(`// +build tools
|
||||
if err := ioutil.WriteFile("tools.go", []byte(fmt.Sprintf(`// +build tools
|
||||
|
||||
package %s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user