mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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) {
|
func LicenseComment() (string, error) {
|
||||||
_, path, _, _ := runtime.Caller(0)
|
_, path, _, _ := runtime.Caller(0)
|
||||||
licensePath := filepath.Join(filepath.Dir(path), "..", "license.txt")
|
licensePath := filepath.Join(filepath.Dir(path), "..", "LICENSE")
|
||||||
l, err := ioutil.ReadFile(licensePath)
|
l, err := ioutil.ReadFile(licensePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
Loading…
Reference in New Issue
Block a user