mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 19:58:54 +01:00
doc: Avoid using symbolic links in paths
Symbolic links can be problematic especially on Windows
This commit is contained in:
parent
1361383ef4
commit
d4f3b683d8
@ -34,7 +34,7 @@ var rootPath = ""
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
_, path, _, _ := runtime.Caller(0)
|
_, path, _, _ := runtime.Caller(0)
|
||||||
rootPath = filepath.Join(filepath.Dir(path), "..", "public")
|
rootPath = filepath.Join(filepath.Dir(path), "..", "..", "docs")
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user