My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 198 attachment: 0002-Use-.app-extension-on-file-name.-For-some-reason-Xco.patch (2.8 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
From f4336c60fdf75efe869cddbf4e6c03c34ac49854 Mon Sep 17 00:00:00 2001
From: Drew Moseley <drew_moseley@mentor.com>
Date: Wed, 8 Aug 2012 14:29:57 -0400
Subject: [PATCH 2/5] Use .app extension on file name. For some reason Xcode
on Mountain Lion seems to require that

---
iTiVo.applescript | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/iTiVo.applescript b/iTiVo.applescript
index 824c867..d2bb966 100755
--- a/iTiVo.applescript
+++ b/iTiVo.applescript
@@ -1458,7 +1458,7 @@ on downloadItem(currentProcessSelectionParam, overrideDLCheck, retryCount)
if GrowlAppName = "GrowlHelperApp.app" then
try
tell application GrowlAppName
- using terms from application "GrowlHelperApp"
+ using terms from application "GrowlHelperApp.app"
notify with name "Can't Download" title "Downloading Failure
" & (oShowName) description "is marked copy-restricted by your tivo" application name "iTiVo"
end using terms from
@@ -1526,7 +1526,7 @@ on downloadItem(currentProcessSelectionParam, overrideDLCheck, retryCount)
try
my debug_log("Informing via Growl")
tell application GrowlAppName
- using terms from application "GrowlHelperApp"
+ using terms from application "GrowlHelperApp.app"
if currentTry > 0 then
notify with name "Beginning Download" title "Retrying (try number " & currentTry + 1 & ")
" & (oShowName) description (showEpisode) application name "iTiVo"
@@ -1912,7 +1912,7 @@ on downloadItem(currentProcessSelectionParam, overrideDLCheck, retryCount)
if GrowlAppName = "GrowlHelperApp.app" then
try
tell application GrowlAppName
- using terms from application "GrowlHelperApp"
+ using terms from application "GrowlHelperApp.app"
if (my isDownloadComplete(filePath, fullFileSize, currentTry, retryCount)) then
notify with name "Ending Download" title "Finished
" & (oShowName) description (showEpisode) application name "iTiVo"
@@ -2478,7 +2478,7 @@ end performCancelDownload
on registerGrowl()
set myAllNotesList to {"Beginning Download", "Ending Download"}
tell application GrowlAppName
- using terms from application "GrowlHelperApp"
+ using terms from application "GrowlHelperApp.app"
register as application "iTiVo" all notifications myAllNotesList default notifications myAllNotesList icon of application "iTiVo"
end using terms from
end tell
@@ -2728,7 +2728,7 @@ on setDockTile(message)
end setDockTile

on growlIsRunning()
- tell application "System Events" to set myRunning to ((application processes whose (name is equal to "GrowlHelperApp")) count)
+ tell application "System Events" to set myRunning to ((application processes whose (name is equal to "GrowlHelperApp.app")) count)
my debug_log("growlisrun: " & myRunning)
return (myRunning > 0)
end growlIsRunning
--
1.7.11.5

Powered by Google Project Hosting