@@ -120,12 +120,27 @@ public void run() {
120
120
File entitlements = new File ("entitlements.xml" );
121
121
URL entitlementsURL = new URL ("https://raw.githubusercontent.com/ptoomey3/Keychain-Dumper/master/entitlements.xml" );
122
122
if (!keychain_dumper .exists ()) {
123
+ Display .FRAME .getContentPane ().add (new JLabel ("Couldn't find keychain_dumper!" ));
124
+ Display .FRAME .getContentPane ().add (new JLabel ("Downloading keychain_dumper from alyxferrari.github.io..." ));
125
+ System .out .println ("Couldn't find keychain_dumper!" );
126
+ System .out .println ("Downloading keychain_dumper from alyxferrari.github.io..." );
127
+ Display .refresh ();
123
128
FileUtils .copyURLToFile (keychain_dumperURL , keychain_dumper );
124
129
}
125
130
if (!updateEntitlements .exists ()) {
131
+ Display .FRAME .getContentPane ().add (new JLabel ("Couldn't find updateEntitlements.sh!" ));
132
+ Display .FRAME .getContentPane ().add (new JLabel ("Downloading updateEntitlements.sh from Keychain-Dumper's GitHub repo..." ));
133
+ System .out .println ("Couldn't find updateEntitlements.sh!" );
134
+ System .out .println ("Downloading updateEntitlements.sh from Keychain-Dumper's GitHub repo..." );
135
+ Display .refresh ();
126
136
FileUtils .copyURLToFile (updateEntitlementsURL , updateEntitlements );
127
137
}
128
138
if (!entitlements .exists ()) {
139
+ Display .FRAME .getContentPane ().add (new JLabel ("Couldn't find entitlements.xml!" ));
140
+ Display .FRAME .getContentPane ().add (new JLabel ("Downloading entitlements.xml from Keychain-Dumper's GitHub repo..." ));
141
+ System .out .println ("Couldn't find entitlements.xml!" );
142
+ System .out .println ("Downloading entitlements.xml from Keychain-Dumper's GitHub repo..." );
143
+ Display .refresh ();
129
144
FileUtils .copyURLToFile (entitlementsURL , entitlements );
130
145
}
131
146
Display .FRAME .getContentPane ().add (new JLabel ("Connecting to " + ip + ":" + port + " over SSH..." ));
0 commit comments