Skip to content

Commit

Permalink
added credits in about menu
Browse files Browse the repository at this point in the history
  • Loading branch information
twocanoes committed Jun 5, 2022
1 parent 26bd973 commit c799c9f
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 4 deletions.
36 changes: 36 additions & 0 deletions XCreds/AboutMenuItem.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// PrefsMenuItem.swift
// xCreds
//
// Created by Timothy Perfitt on 4/5/22.
//

import Foundation
import Cocoa

class AboutMenuItem: NSMenuItem {

override var title: String {
get {
"About XCreds"
}
set {
return
}
}

init() {
super.init(title: "", action: #selector(doAction), keyEquivalent: "")
self.target = self
}

required init(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}

@objc func doAction() {

NSApp.orderFrontStandardAboutPanel(options: [:])
NSApp.activate(ignoringOtherApps: true)
}
}
11 changes: 9 additions & 2 deletions XCreds/Credits.rtf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
\margl1440\margr1440\vieww11520\viewh8400\viewkind0
\pard\tx720\tx1130\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\qc\partightenfactor0

\f0\fs24 \cf0 Special thanks to North Carolina State University for initial funding of this project. XCreds is licensed under BSD Open Source License.\
\f0\fs24 \cf0 Special thanks to North Carolina State University for initial funding of this project. \
\
{\field{\*\fldinst{HYPERLINK "https://twocanoes.com"}}{\fldrslt https://twocanoes.com}}\
\pard\tx840\pardeftab840\pardirnatural\qc\partightenfactor0
\cf0 OIDCLite is Copyright (c) 2022 Joel Rennich ({\field{\*\fldinst{HYPERLINK "https://gitlab.com/Mactroll/OIDCLite"}}{\fldrslt https://gitlab.com/Mactroll/OIDCLite}}) under MIT License.\
\
XCreds is licensed under {\field{\*\fldinst{HYPERLINK "https://opensource.org/licenses/BSD-3-Clause"}}{\fldrslt BSD Open Source License}}.\
\pard\tx720\tx1130\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\qc\partightenfactor0
\cf0 \
\pard\tx720\tx1130\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\qc\partightenfactor0
{\field{\*\fldinst{HYPERLINK "https://twocanoes.com"}}{\fldrslt \cf0 https://twocanoes.com}}\
}
4 changes: 2 additions & 2 deletions xCreds.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
CODE_SIGN_ENTITLEMENTS = XCreds/xCreds.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1258;
CURRENT_PROJECT_VERSION = 1259;
DEVELOPMENT_TEAM = UXP6YEHSPW;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -406,7 +406,7 @@
CODE_SIGN_ENTITLEMENTS = XCreds/xCreds.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1258;
CURRENT_PROJECT_VERSION = 1259;
DEVELOPMENT_TEAM = UXP6YEHSPW;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down
Binary file not shown.

0 comments on commit c799c9f

Please sign in to comment.