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
|
// String vars that are free to be changed at compile time
|
||||||
var (
|
var (
|
||||||
requirePaths = commonRequirePaths + `
|
requirePaths = commonRequirePaths + `
|
||||||
.. ';/usr/share/hilbish/libs/?/init.lua;'
|
.. ';` + dataDir + `/libs/?/init.lua;'
|
||||||
.. ';/usr/share/hilbish/libs/?/?.lua;'` + linuxUserPaths
|
.. ';` + 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