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