mirror of https://github.com/Hilbis/Hilbish
chore: add dataDir var
parent
e4833bdba9
commit
f9133584d4
|
@ -13,6 +13,7 @@ var (
|
|||
.. hilbish.xdg.config .. '/hilbish/?/init.lua'
|
||||
.. hilbish.xdg.config .. '/hilbish/?/?.lua'
|
||||
.. hilbish.xdg.config .. '/hilbish/?.lua'`
|
||||
preloadPath = "/usr/share/hilbish/preload.lua"
|
||||
sampleConfPath = "/usr/share/hilbish/.hilbishrc.lua" // Path to default/sample config
|
||||
dataDir = "/usr/share/hilbish"
|
||||
preloadPath = dataDir + "/preload.lua"
|
||||
sampleConfPath = dataDir + "/.hilbishrc.lua" // Path to default/sample config
|
||||
)
|
||||
|
|
|
@ -7,6 +7,7 @@ var (
|
|||
requirePaths = `';./libs/?/init.lua;./?/init.lua;./?/?.lua'
|
||||
.. hilbish.home .. '\\Appdata\\Roaming\\Hilbish\\libs\\?\\init.lua;'
|
||||
.. hilbish.home .. '\\Appdata\\Roaming\\Hilbish\\libs\\?\\?.lua;'`
|
||||
preloadPath = "~\\Appdata\\Roaming\\Hilbish\\preload.lua" // ~ and \ gonna cry?
|
||||
sampleConfPath = "~\\Appdata\\Roaming\\Hilbish\\hilbishrc.lua" // Path to default/sample config
|
||||
dataDir = "~\\Appdata\\Roaming\\Hilbish" // ~ and \ gonna cry?
|
||||
preloadPath = dataDir + "\\preload.lua"
|
||||
sampleConfPath = dataDir + "\\hilbishrc.lua" // Path to default/sample config
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue