Skip to content

Commit

Permalink
Issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
imdatceleste committed Nov 2, 2021
1 parent b5aa415 commit c97f6ab
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
Binary file not shown.
13 changes: 11 additions & 2 deletions Katip/Base.lproj/MainMenu.xib
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,20 @@
</items>
</menu>
</menuItem>
<menuItem title="Help" id="wpr-3q-Mcd">
<menuItem title="Help" id="4LX-pV-wd2">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Help" systemMenu="help" id="ItI-i6-ce9">
<items>
<menuItem title="Show Readme in Browser" keyEquivalent="?" id="N5o-6V-mHC" userLabel="Show README">
<connections>
<action selector="help:" target="66D-GA-F88" id="n0t-vZ-WZO"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
<point key="canvasLocation" x="11" y="173"/>
<point key="canvasLocation" x="-11" y="173"/>
</menu>
<window title="Katip" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g">
<windowStyleMask key="styleMask" titled="YES" miniaturizable="YES" resizable="YES"/>
Expand Down
7 changes: 7 additions & 0 deletions Katip/ISOKatip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ class ISOKatip: NSObject, ISOTranscriberDelegate, NSWindowDelegate {
transcriber?.setup()
}

@IBAction private func help(_ : Any) {
let url = URL(string: "https://github.com/imdatsolak/katip/blob/main/README.md")!
if NSWorkspace.shared.open(url) {
print("default browser was successfully opened")
}
}

@IBAction private func openFile(_ : Any) {
let openPanel = NSOpenPanel()
self.recordingFileUrl = nil
Expand Down
2 changes: 1 addition & 1 deletion Katip/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>101</string>
<string>103</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit c97f6ab

Please sign in to comment.