Skip to content

Commit

Permalink
Merge pull request #27 from BonnierNews/add_openeid
Browse files Browse the repository at this point in the history
Add openeid
  • Loading branch information
pmex authored Jan 22, 2025
2 parents 647a876 + 424044d commit c6f793a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fragments/labels/openeid.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
openeid)
name="Open-EID"
type="pkgInDmg"
archiveName="Open-EID.pkg"
downloadURL=$(curl -fs "https://www.id.ee/en/article/install-id-software/" | grep -oe "https://installer.id.ee/media/osx/.*\.dmg")
appNewVersion=$(echo $downloadURL | sed -E 's/.*EID_|.dmg//g')
expectedTeamID="ET847QJV9F"
blockingProcesses=( "EstEIDTokenApp" "EstEIDTokenNotify" "web-eid" )
appCustomVersion(){ if [[ -d /Applications/Utilities/EstEIDTokenApp.app ]] && [[ -d /Applications/Utilities/web-eid.app ]];then /usr/sbin/pkgutil --pkg-info ee.ria.open-eid | grep "version" | awk '{print$2}';fi }
;;

0 comments on commit c6f793a

Please sign in to comment.