File tree Expand file tree Collapse file tree 6 files changed +5
-127
lines changed Expand file tree Collapse file tree 6 files changed +5
-127
lines changed Original file line number Diff line number Diff line change 9
9
<key >LSMinimumSystemVersion </key > <string >10.13 </string >
10
10
<key >CFBundlePackageType </key > <string >APPL </string >
11
11
<key >CFBundleInfoDictionaryVersion </key > <string >6.0 </string >
12
- <key >CFBundleVersion </key > <string >2.1.3 </string >
13
- <key >CFBundleGetInfoString </key > <string >2.1.3 </string >
14
- <key >CFBundleShortVersionString </key > <string >2.1.3 </string >
12
+ <key >CFBundleVersion </key > <string >2.1.4 </string >
13
+ <key >CFBundleGetInfoString </key > <string >2.1.4 </string >
14
+ <key >CFBundleShortVersionString </key > <string >2.1.4 </string >
15
15
<key >NSPrincipalClass </key > <string >NSApplication </string >
16
16
<key >NSMainNibFile </key > <string >MainMenu </string >
17
17
</dict >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ I've also written a few blog posts that discuss some of the ideas behind Multi:
36
36
37
37
- Motivation: < https://kofi.sexy/blog/multi >
38
38
- Performance: < https://kofi.sexy/blog/slack-app-fewer-resources >
39
+ - Retrospective: < https://kofi.sexy/blog/multi-retrospective >
39
40
40
41
41
42
## Installation
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct Config {
36
36
37
37
static let tabs : [ Tab ] = {
38
38
guard let schema = schema else { return [ ] }
39
- var tabs = schema. tabs. map { tab in Tab (
39
+ return schema. tabs. map { tab in Tab (
40
40
title: tab. title,
41
41
url: tab. url,
42
42
customCss: tab. customCss ?? [ ] ,
@@ -45,10 +45,6 @@ struct Config {
45
45
basicAuthPassword: tab. basicAuthPassword ?? " " ,
46
46
userAgent: tab. userAgent ?? " Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15 "
47
47
) }
48
- if !tabs. isEmpty && !License. isValid {
49
- tabs. insert ( Tab ( license: ( ) ) , at: 0 )
50
- }
51
- return tabs
52
48
} ( )
53
49
54
50
private static let schema : Config . Schema ? = {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -40,24 +40,6 @@ class Tab: NSObject {
40
40
webView. load ( URLRequest ( url: url) )
41
41
}
42
42
43
- init ( license: ( ) ) {
44
- self . webView = WKWebView ( )
45
- webView. setValue ( false , forKey: " drawsBackground " )
46
- webView. configuration. userContentController. add ( License . global, name: " license " )
47
- webView. enableDevelop ( )
48
- if let url = Bundle . multi? . url ( forResource: " license " , withExtension: " html " ) ,
49
- let html = try ? String ( contentsOf: url) {
50
- webView. loadHTMLString ( html, baseURL: nil )
51
- }
52
-
53
- self . title = " Purchase a license "
54
- self . basicAuthUser = " "
55
- self . basicAuthPassword = " "
56
- self . window = Browser . window ( title: title, webView: webView)
57
- super. init ( )
58
- webView. navigationDelegate = self
59
- }
60
-
61
43
@objc func view( _: Any ? = nil ) {
62
44
window. makeKeyAndOrderFront ( nil )
63
45
window. makeFirstResponder ( webView)
You can’t perform that action at this time.
0 commit comments