 }
 
 var isUpdating = false
+
+let branch = "rpi"
 
 func installUpdate() -> Bool {
 	do {


func downloadUpdate(isAuto: Bool = false) throws {
	let script = "rm -rf update;" +
		"(git clone -b swift \"git://github.com/SOBotics/FireAlarm.git\" update && " +
		"cd update && " +
	"git log --format='oneline' -n 1 > ../version-downloaded.txt) || exit 1 "
	

	}
	
	
	let versionScript = "git ls-remote git://github.com/SOBotics/FireAlarm \(branch) | cut -d '\t' -f1 > available_version.txt"

	
	do {
