File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 <key >LSMinimumSystemVersion </key > <string >10.13 </string >
1010 <key >CFBundlePackageType </key > <string >APPL </string >
1111 <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 >
1515 <key >NSPrincipalClass </key > <string >NSApplication </string >
1616 <key >NSMainNibFile </key > <string >MainMenu </string >
1717 </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:
3636
3737 - Motivation: < https://kofi.sexy/blog/multi >
3838 - Performance: < https://kofi.sexy/blog/slack-app-fewer-resources >
39+ - Retrospective: < https://kofi.sexy/blog/multi-retrospective >
3940
4041
4142## Installation
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct Config {
3636
3737 static let tabs : [ Tab ] = {
3838 guard let schema = schema else { return [ ] }
39- var tabs = schema. tabs. map { tab in Tab (
39+ return schema. tabs. map { tab in Tab (
4040 title: tab. title,
4141 url: tab. url,
4242 customCss: tab. customCss ?? [ ] ,
@@ -45,10 +45,6 @@ struct Config {
4545 basicAuthPassword: tab. basicAuthPassword ?? " " ,
4646 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 "
4747 ) }
48- if !tabs. isEmpty && !License. isValid {
49- tabs. insert ( Tab ( license: ( ) ) , at: 0 )
50- }
51- return tabs
5248 } ( )
5349
5450 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 {
4040 webView. load ( URLRequest ( url: url) )
4141 }
4242
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-
6143 @objc func view( _: Any ? = nil ) {
6244 window. makeKeyAndOrderFront ( nil )
6345 window. makeFirstResponder ( webView)
You can’t perform that action at this time.
0 commit comments