Skip to content

Commit 5206a7e

Browse files
committed
添加转换后使用finder打开
1 parent cb49c5c commit 5206a7e

File tree

8 files changed

+149
-108
lines changed

8 files changed

+149
-108
lines changed

SQLCipherManager.xcodeproj/xcuserdata/wanyc.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
ignoreCount = "0"
99
continueAfterRunningActions = "No"
1010
filePath = "SQLCipherManager/AppDelegate.m"
11-
timestampString = "408609630.831163"
11+
timestampString = "408614499.639692"
1212
startingColumnNumber = "9223372036854775807"
1313
endingColumnNumber = "9223372036854775807"
14-
startingLineNumber = "257"
15-
endingLineNumber = "257"
14+
startingLineNumber = "274"
15+
endingLineNumber = "274"
1616
landmarkName = "-runDecodeWithDB:keyword:"
1717
landmarkType = "5">
1818
</FileBreakpoint>
@@ -21,24 +21,11 @@
2121
ignoreCount = "0"
2222
continueAfterRunningActions = "No"
2323
filePath = "SQLCipherManager/AppDelegate.m"
24-
timestampString = "408609630.831163"
24+
timestampString = "408614499.639692"
2525
startingColumnNumber = "9223372036854775807"
2626
endingColumnNumber = "9223372036854775807"
27-
startingLineNumber = "156"
28-
endingLineNumber = "156"
29-
landmarkName = "@implementation AppDelegate"
30-
landmarkType = "3">
31-
</FileBreakpoint>
32-
<FileBreakpoint
33-
shouldBeEnabled = "Yes"
34-
ignoreCount = "0"
35-
continueAfterRunningActions = "No"
36-
filePath = "SQLCipherManager/AppDelegate.m"
37-
timestampString = "408609630.831163"
38-
startingColumnNumber = "9223372036854775807"
39-
endingColumnNumber = "9223372036854775807"
40-
startingLineNumber = "64"
41-
endingLineNumber = "64"
27+
startingLineNumber = "172"
28+
endingLineNumber = "172"
4229
landmarkName = "-runEncodeWithDB:keyword:"
4330
landmarkType = "5">
4431
</FileBreakpoint>
@@ -47,11 +34,11 @@
4734
ignoreCount = "0"
4835
continueAfterRunningActions = "No"
4936
filePath = "SQLCipherManager/AppDelegate.m"
50-
timestampString = "408609637.657055"
37+
timestampString = "408614499.639692"
5138
startingColumnNumber = "9223372036854775807"
5239
endingColumnNumber = "9223372036854775807"
53-
startingLineNumber = "53"
54-
endingLineNumber = "53"
40+
startingLineNumber = "57"
41+
endingLineNumber = "57"
5542
landmarkName = "-awakeWindow:"
5643
landmarkType = "5">
5744
</FileBreakpoint>

SQLCipherManager.xcodeproj/xcuserdata/wanyc.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 46 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
ignoreCount = "0"
1111
continueAfterRunningActions = "No"
1212
filePath = "SQLCipherManager/AppDelegate.m"
13-
timestampString = "406697067.365804"
13+
timestampString = "408617414.52559"
1414
startingColumnNumber = "9223372036854775807"
1515
endingColumnNumber = "9223372036854775807"
16-
startingLineNumber = "253"
17-
endingLineNumber = "253"
18-
landmarkName = "@implementation AppDelegate"
19-
landmarkType = "3">
16+
startingLineNumber = "258"
17+
endingLineNumber = "258"
18+
landmarkName = "-runDecodeWithDB:keyword:"
19+
landmarkType = "5">
2020
</BreakpointContent>
2121
</BreakpointProxy>
2222
<BreakpointProxy
@@ -26,13 +26,13 @@
2626
ignoreCount = "0"
2727
continueAfterRunningActions = "No"
2828
filePath = "SQLCipherManager/AppDelegate.m"
29-
timestampString = "399287684.319942"
29+
timestampString = "408617414.52559"
3030
startingColumnNumber = "9223372036854775807"
3131
endingColumnNumber = "9223372036854775807"
32-
startingLineNumber = "151"
33-
endingLineNumber = "151"
34-
landmarkName = "@implementation AppDelegate"
35-
landmarkType = "3">
32+
startingLineNumber = "154"
33+
endingLineNumber = "154"
34+
landmarkName = "-runEncodeWithDB:keyword:"
35+
landmarkType = "5">
3636
</BreakpointContent>
3737
</BreakpointProxy>
3838
<BreakpointProxy
@@ -42,43 +42,45 @@
4242
ignoreCount = "0"
4343
continueAfterRunningActions = "No"
4444
filePath = "SQLCipherManager/AppDelegate.m"
45-
timestampString = "399287684.319942"
45+
timestampString = "408617414.52559"
4646
startingColumnNumber = "9223372036854775807"
4747
endingColumnNumber = "9223372036854775807"
48-
startingLineNumber = "59"
49-
endingLineNumber = "59"
50-
landmarkName = "-runEncodeWithDB:keyword:"
48+
startingLineNumber = "63"
49+
endingLineNumber = "63"
50+
landmarkName = "-awakeWindow:"
51+
landmarkType = "5">
52+
</BreakpointContent>
53+
</BreakpointProxy>
54+
<BreakpointProxy
55+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
56+
<BreakpointContent
57+
shouldBeEnabled = "Yes"
58+
ignoreCount = "0"
59+
continueAfterRunningActions = "No"
60+
filePath = "SQLCipherManager/AppDelegate.m"
61+
timestampString = "408617414.52559"
62+
startingColumnNumber = "9223372036854775807"
63+
endingColumnNumber = "9223372036854775807"
64+
startingLineNumber = "361"
65+
endingLineNumber = "361"
66+
landmarkName = "-didAlert:selectedIndex:withContent:"
67+
landmarkType = "5">
68+
</BreakpointContent>
69+
</BreakpointProxy>
70+
<BreakpointProxy
71+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
72+
<BreakpointContent
73+
shouldBeEnabled = "Yes"
74+
ignoreCount = "0"
75+
continueAfterRunningActions = "No"
76+
filePath = "SQLCipherManager/AppDelegate.m"
77+
timestampString = "408617414.52559"
78+
startingColumnNumber = "9223372036854775807"
79+
endingColumnNumber = "9223372036854775807"
80+
startingLineNumber = "192"
81+
endingLineNumber = "192"
82+
landmarkName = "-runDecodeWithDB:keyword:"
5183
landmarkType = "5">
52-
<Locations>
53-
<Location
54-
shouldBeEnabled = "Yes"
55-
ignoreCount = "0"
56-
continueAfterRunningActions = "No"
57-
symbolName = "-[AppDelegate runEncodeWithDB:keyword:]"
58-
moduleName = "SQLCipherTools"
59-
urlString = "file:///Users/wanyc/Code/SQLCipherExport/SQLCipherManager/AppDelegate.m"
60-
timestampString = "406696660.733437"
61-
startingColumnNumber = "9223372036854775807"
62-
endingColumnNumber = "9223372036854775807"
63-
startingLineNumber = "61"
64-
endingLineNumber = "61"
65-
offsetFromSymbolStart = "34">
66-
</Location>
67-
<Location
68-
shouldBeEnabled = "Yes"
69-
ignoreCount = "0"
70-
continueAfterRunningActions = "No"
71-
symbolName = "__39-[AppDelegate runEncodeWithDB:keyword:]_block_invoke"
72-
moduleName = "SQLCipherTools"
73-
urlString = "file:///Users/wanyc/Code/SQLCipherExport/SQLCipherManager/AppDelegate.m"
74-
timestampString = "406696660.733777"
75-
startingColumnNumber = "9223372036854775807"
76-
endingColumnNumber = "9223372036854775807"
77-
startingLineNumber = "61"
78-
endingLineNumber = "61"
79-
offsetFromSymbolStart = "40">
80-
</Location>
81-
</Locations>
8284
</BreakpointContent>
8385
</BreakpointProxy>
8486
</Breakpoints>

SQLCipherManager/AppDelegate.h

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,20 @@
99
#import <Cocoa/Cocoa.h>
1010
#import "Utility.h"
1111

12-
@interface AppDelegate : NSObject <NSApplicationDelegate>{
12+
@interface AppDelegate : NSObject <NSApplicationDelegate,NSAlertDelegate>{
1313
IBOutlet NSMenu *statusMenu;
1414
NSStatusItem *statusItem;
1515
NSString *new_db_name;
16+
17+
NSString *encryptPath;
18+
NSString *normalPath;
19+
NSAlert *alert;
1620
}
1721

1822
@property (assign) IBOutlet NSWindow *window;
1923

2024
@property (assign) IBOutlet NSTextField *DBPathText;
2125
@property (assign) IBOutlet NSTextField *DBKey;
22-
@property (assign) IBOutlet NSMatrix *actionRadio;
2326
@property (nonatomic,strong) NSString *noticeMessage;
2427
@property (assign) __block IBOutlet NSTextField *noticeText;
2528
@property (assign) IBOutlet NSProgressIndicator *progressIndicator;
@@ -29,6 +32,10 @@
2932
@property (assign) IBOutlet NSSegmentedControl *cryptSegment;
3033

3134

35+
@property (strong,nonatomic) NSString *encryptPath;
36+
@property (strong,nonatomic) NSString *normalPath;
37+
38+
3239
- (IBAction)rememberKey:(id)sender;
3340

3441
- (IBAction)convertDB:(id)sender;
@@ -55,4 +62,6 @@ bool deleteDatabase();
5562

5663
- (IBAction)showProjectWebsite:(id)sender;
5764

65+
- (void)showFinishAlert:(NSString *)message;
66+
5867
@end

0 commit comments

Comments
 (0)