mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
cmd/ebitenmobile: Bug fix: os.WriteFile is not defined at Go 1.15
Updates #1667
This commit is contained in:
parent
b30d626e9a
commit
1341b3f471
@ -104,7 +104,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