Minor updates to install system

This commit is contained in:
Openarl
2016-10-31 18:54:49 +10:00
parent 490d1c1fd3
commit e790cec195
11 changed files with 27 additions and 22 deletions

View File

@@ -19,12 +19,12 @@ function launch:OnInit()
self.versionPlatform = "?"
self.lastUpdateCheck = GetTime()
ConPrintf("Loading main script...")
local mainFile = io.open("Modules/Main.lua")
if mainFile then
mainFile:close()
local changeLogFile = io.open("changelog.txt")
if changeLogFile then
changeLogFile:close()
else
-- Main module isn't present, this must be a fresh installation
-- Perform an immediate update to download the remaining files
-- Changelog isn't present, this must be a fresh installation
-- Perform an immediate update to download the latest version
ConClear()
ConPrintf("Please wait while we complete installation...\n")
local updateMode = LoadModule("UpdateCheck")