mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal: Bug fix: license.txt was changed to LICENSE
This commit is contained in:
parent
4fcfa822e1
commit
7490bfa4f4
@ -23,7 +23,7 @@ import (
|
||||
|
||||
func LicenseComment() (string, error) {
|
||||
_, path, _, _ := runtime.Caller(0)
|
||||
licensePath := filepath.Join(filepath.Dir(path), "..", "license.txt")
|
||||
licensePath := filepath.Join(filepath.Dir(path), "..", "LICENSE")
|
||||
l, err := ioutil.ReadFile(licensePath)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
Loading…
Reference in New Issue
Block a user