-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDownload OCLP.applescript
More file actions
executable file
·67 lines (53 loc) · 4.18 KB
/
Download OCLP.applescript
File metadata and controls
executable file
·67 lines (53 loc) · 4.18 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
63
64
65
66
67
# Applescript create by chris1111
# Copyright (c) 2025 chris1111 All rights reserved.
#
# Credit: Apple
# Version "1.0" by chris1111
# Vars
set Tag to text returned of (display dialog "
- - - - - - - - - - - - - - - - - - - -
Download OpenCore-Legacy-Patcher
- - - - - - - - - - - - - - - - - - - -
⬇ ︎Type the Tag number for your release:
Then press the (OK) button
Latest Release Tag is (2.2.0)
Other working Tag for OpenCore-Patcher.pkg
2.1.2 / 2.1.1 / 2.1.0 / 2.0.1 / 2.0.0 / 1.5.0
It will be downloaded on
/Desktop/Download_OCLP/(Your Tag number)
- - - - - - - - - - - - - - - - - - - - " default answer "2.2.0" with icon note buttons {"Cancel", "OK"} default button {"OK"})
set progress description to "OpenCore-Legacy-Patcher
======================================
Download OpenCore-Patcher.pkg from Github
======================================
"
set progress total steps to 7
set progress additional description to "Analyse URL"
delay 2
set progress completed steps to 1
set progress additional description to "Connecting to Github"
delay 2
set progress completed steps to 2
set progress additional description to "Connecting OK"
delay 2
set progress completed steps to 3
set progress additional description to "Downloading Package"
delay 1
set progress completed steps to 4
set progress additional description to "Downloading OpenCore-Patcher.pkg ➦ " & Tag & ""
set theSourceCode to do shell script "mkdir -p $HOME/Desktop/Download_OCLP/" & Tag & ""
delay 1
--curl cmd
set theSourceCode to do shell script "curl -L https://github.com/dortania/OpenCore-Legacy-Patcher/releases/download/" & Tag & "/OpenCore-Patcher.pkg -o $HOME/Desktop/Download_OCLP/" & Tag & "/OpenCore-Patcher.pkg"
set progress completed steps to 5
set progress additional description to "Download in Progress Wait . . . ."
delay 0.5
set progress completed steps to 6
set progress additional description to "Download in Progress ➤ ➤ 90%"
delay 1
set progress completed steps to 7
set progress additional description to "
Downloading Completed ➤ ➤ 100%"
delay 3
do shell script "open $HOME/Desktop/Download_OCLP/" & Tag & ""
return Tag