• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server


  • Subject: Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 10 Feb 2016 21:50:13 +0100

This edited version grabs the files from Applications and its subfolders but it don't grab those stored deeper.

set report to ""
tell application "Finder"
set theApps to (every application file in every folder of folder "Applications" of startup disk as alias list) & (every application file in folder "Applications" of startup disk as alias list)
repeat with thisApp in theApps
set thisApp to contents of thisApp


if package folder of (info for thisApp) and ¬
name of every folder of thisApp contains "Contents" and ¬
name of every folder of folder "Contents" of thisApp contains "Frameworks" and ¬
name of every item of folder "Frameworks" of folder "Contents" of thisApp contains "Sparkle.framework" then
-- add statements to process Info.plist file of thisApp here
set report to (report & thisApp as text) & return
end if
end repeat
end tell
report

It's awfully long.

I was able to get the list of every apps available in Applications folder in the Terminal with :

mdfind -onlyin /Applications "kMDItemFSName == '*.app'"

I'm trying to convert it in a do shell script instruction but at this time I failed.


Yvan KOENIG running El Capitan 10.11.3 in French (VALLAURIS, France) mercredi 10 février 2016 21:50:05



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server
  • Next by Date: Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server
  • Previous by thread: Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server
  • Next by thread: Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server
  • Index(es):
    • Date
    • Thread