Permalink
Browse files

Update install.swift

  • Loading branch information...
1 parent df6196e commit a86f35f89744e537bbe3a46f8b0c2a115396f74b @PTCE committed on GitHub Aug 9, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 install.swift
View
@@ -69,7 +69,7 @@ run("-c", "git stash", "git fetch", "git rebase")
print("\n# Fetching the latest verion info...")
var versions = [String]()
-if let jsonData = NSURLSession.requestSynchronousJSONWithURLString("https://api.github.com/repos/PopcornTimeTV/PopcornTimeTV/releases") as? [[String : AnyObject]] {
+if let jsonData = NSURLSession.requestSynchronousJSONWithURLString("https://api.github.com/repos/PTCE/PopcornTimeTV/releases") as? [[String : AnyObject]] {
for info in jsonData {
if let string = info["tag_name"] as? String {
@@ -107,7 +107,7 @@ if podsInstalled.rangeOfString("no") != nil {
// Install all of the pods
print("Updating and installing Cocoapods...")
-run("-c","rm -rf ~/.cocoapods/repos/popcorntimetv")
+run("-c","rm -rf ~/.cocoapods/repos/PTCE")
run("-c","rm -rf Podfile.lock")
run("-c","pod cache clean --all")
run("-c","rm -rf ~/Library/Developer/Xcode/DerivedData/PopcornTime-*")

0 comments on commit a86f35f

Please sign in to comment.