2022-02-28 22:53:58 +00:00
|
|
|
// +build darwin
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
// String vars that are free to be changed at compile time
|
|
|
|
var (
|
|
|
|
requirePaths = commonRequirePaths + `.. ';'
|
|
|
|
.. hilbish.dataDir .. '/libs/?/init.lua;'
|
|
|
|
.. hilbish.dataDir .. '/libs/?/?.lua;'` + macosUserPaths
|
|
|
|
macosUserPaths = `
|
|
|
|
.. 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'`
|
|
|
|
dataDir = "/usr/local/share/hilbish"
|
2022-03-06 18:45:06 +00:00
|
|
|
preloadPath = dataDir + "/prelude/init.lua"
|
2022-02-28 22:53:58 +00:00
|
|
|
sampleConfPath = dataDir + "/.hilbishrc.lua" // Path to default/sample config
|
|
|
|
)
|