mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix: correct require paths on windows
This commit is contained in:
		
							parent
							
								
									1b0ae5b1e3
								
							
						
					
					
						commit
						fd513b6ae3
					
				@ -5,9 +5,9 @@ package main
 | 
			
		||||
// String vars that are free to be changed at compile time
 | 
			
		||||
var (
 | 
			
		||||
	requirePaths = commonRequirePaths + `.. ';'
 | 
			
		||||
	.. hilbish.user.config .. '\\Hilbish\\libs\\?\\init.lua;'
 | 
			
		||||
	.. hilbish.user.config .. '\\Hilbish\\libs\\?\\?.lua;'
 | 
			
		||||
	.. hilbish.user.config .. '\\Hilbish\\libs\\?.lua;'`
 | 
			
		||||
	.. hilbish.userDir.config .. '\\Hilbish\\libs\\?\\init.lua;'
 | 
			
		||||
	.. hilbish.userDir.config .. '\\Hilbish\\libs\\?\\?.lua;'
 | 
			
		||||
	.. hilbish.userDir.config .. '\\Hilbish\\libs\\?.lua;'`
 | 
			
		||||
	dataDir = "~\\Appdata\\Roaming\\Hilbish" // ~ and \ gonna cry?
 | 
			
		||||
	preloadPath = dataDir + "\\preload.lua"
 | 
			
		||||
	sampleConfPath = dataDir + "\\hilbishrc.lua" // Path to default/sample config
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user