Update App Store.lua
This commit is contained in:
		
							parent
							
								
									df6a5d5b28
								
							
						
					
					
						commit
						f8ee39f0b7
					
				| 
						 | 
				
			
			@ -12,7 +12,7 @@ end
 | 
			
		|||
 | 
			
		||||
local app_views = {}
 | 
			
		||||
 | 
			
		||||
local y = 1
 | 
			
		||||
local y = 2
 | 
			
		||||
 | 
			
		||||
function add_app(name, colour, url, file, installed, upgradeable, app_remote_version, app_remote_path)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -166,7 +166,7 @@ function refresh()
 | 
			
		|||
    view_frame:destroy()
 | 
			
		||||
  end
 | 
			
		||||
  app_views = {} 
 | 
			
		||||
  y = 1 
 | 
			
		||||
  y = 2
 | 
			
		||||
 | 
			
		||||
  for app_name, app_data in pairs(latest_apps_json) do
 | 
			
		||||
    local installed = false
 | 
			
		||||
| 
						 | 
				
			
			@ -190,6 +190,8 @@ function refresh()
 | 
			
		|||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
term.setBackgroundColour(colours.white)
 | 
			
		||||
term.clear()
 | 
			
		||||
refresh()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user