Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Define the path to the file
- local filePath = "/disk/bootloader/VA11-ILLA.lua"
- -- Function to check if the file exists
- local function fileExists(path)
- local file = fs.open(path, "r")
- if file then
- file.close()
- return true
- else
- return false
- end
- end
- -- Check if the file exists and display appropriate message
- if fileExists(filePath) then
- print("VA11-ILLA.lua is installed.")
- else
- print("Doggy OS isn't installed on your computer.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement