2021-07-09 00:55:19 +00:00
|
|
|
// +build linux
|
2021-07-09 00:49:51 +00:00
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
// String vars that are free to be changed at compile time
|
|
|
|
var (
|
2021-10-18 03:14:18 +00:00
|
|
|
requirePaths = commonRequirePaths + `.. ';'
|
|
|
|
.. hilbish.dataDir .. '/libs/?/init.lua;'
|
|
|
|
.. hilbish.dataDir .. '/libs/?/?.lua;'` + linuxUserPaths
|
2021-10-17 20:27:14 +00:00
|
|
|
linuxUserPaths = `
|
2021-12-14 00:13:17 +00:00
|
|
|
.. hilbish.userDir.data .. '/hilbish/libs/?/init.lua;'
|
|
|
|
.. hilbish.userDir.data .. '/hilbish/libs/?/?.lua;'
|
|
|
|
.. hilbish.userDir.data .. '/hilbish/libs/?.lua;'
|
|
|
|
.. hilbish.userDir.config .. '/hilbish/?/init.lua;'
|
|
|
|
.. hilbish.userDir.config .. '/hilbish/?/?.lua;'
|
|
|
|
.. hilbish.userDir.config .. '/hilbish/?.lua'`
|
2022-12-13 00:54:05 +00:00
|
|
|
dataDir = "/usr/local/share/hilbish"
|
2022-04-23 03:56:57 +00:00
|
|
|
preloadPath = dataDir + "/nature/init.lua"
|
2021-10-14 23:46:25 +00:00
|
|
|
sampleConfPath = dataDir + "/.hilbishrc.lua" // Path to default/sample config
|
2022-04-20 02:12:05 +00:00
|
|
|
defaultConfDir = ""
|
2021-07-09 00:49:51 +00:00
|
|
|
)
|