mirror of
				https://github.com/kepler155c/opus
				synced 2025-10-31 15:43:00 +00:00 
			
		
		
		
	fix menu separators + sys dir restructure
This commit is contained in:
		
							
								
								
									
										15
									
								
								sys/init/4.label.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								sys/init/4.label.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| local os = _G.os | ||||
|  | ||||
| -- Default label | ||||
| if not os.getComputerLabel() then | ||||
| 	local id = os.getComputerID() | ||||
| 	if _G.turtle then | ||||
| 		os.setComputerLabel('turtle_' .. id) | ||||
| 	elseif _G.pocket then | ||||
| 		os.setComputerLabel('pocket_' .. id) | ||||
| 	elseif _G.commands then | ||||
| 		os.setComputerLabel('command_' .. id) | ||||
| 	else | ||||
| 		os.setComputerLabel('computer_' .. id) | ||||
| 	end | ||||
| end | ||||
		Reference in New Issue
	
	Block a user
	 kepler155c@gmail.com
					kepler155c@gmail.com