mirror of https://github.com/Hilbis/Hilbish
fix: use dataDir var in requirePaths
parent
b1f4efd9ac
commit
00f41a95bc
|
@ -5,8 +5,8 @@ package main
|
|||
// String vars that are free to be changed at compile time
|
||||
var (
|
||||
requirePaths = commonRequirePaths + `
|
||||
.. ';/usr/share/hilbish/libs/?/init.lua;'
|
||||
.. ';/usr/share/hilbish/libs/?/?.lua;'` + linuxUserPaths
|
||||
.. ';` + dataDir + `/libs/?/init.lua;'
|
||||
.. ';` + dataDir + `/libs/?/?.lua;'` + linuxUserPaths
|
||||
linuxUserPaths = `
|
||||
.. hilbish.xdg.data .. '/hilbish/libs/?/init.lua;'
|
||||
.. hilbish.xdg.data .. '/hilbish/libs/?/?.lua;'
|
||||
|
|
Loading…
Reference in New Issue