Skip to content

Commit

Permalink
add update button
Browse files Browse the repository at this point in the history
  • Loading branch information
zaru committed Apr 5, 2020
1 parent 63209fd commit 854c20d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
4 changes: 2 additions & 2 deletions menuffy/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSBackgroundOnly</key>
<true/>
<key>LSMinimumSystemVersion</key>
Expand Down
12 changes: 12 additions & 0 deletions menuffy/Preference/Tabs/Base.lproj/Settings.xib
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,20 @@
<action selector="toggleLoginService:" target="-2" id="Taa-dh-6WN"/>
</connections>
</button>
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="SdG-O4-18o">
<rect key="frame" x="14" y="6" width="152" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="push" title="Check for updates" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="aZV-PL-Lgw">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="checkForUpdates:" target="ye6-Ug-RDz" id="XDl-ZZ-bp2"/>
</connections>
</button>
</subviews>
<point key="canvasLocation" x="137" y="154"/>
</customView>
<customObject id="ye6-Ug-RDz" customClass="SUUpdater"/>
</objects>
</document>
5 changes: 3 additions & 2 deletions menuffy/Preference/Tabs/ja.lproj/Settings.strings
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

/* Class = "NSButtonCell"; title = "Check for updates"; ObjectID = "aZV-PL-Lgw"; */
"aZV-PL-Lgw.title" = "Check for updates";
"aZV-PL-Lgw.title" = "最新バージョンをチェック";

/* Class = "NSButtonCell"; title = "Start menuffy when you log in"; ObjectID = "qAh-6z-DQ4"; */
"qAh-6z-DQ4.title" = "Start menuffy when you log in";
"qAh-6z-DQ4.title" = "ログイン時に menuffy を自動で起動する";

0 comments on commit 854c20d

Please sign in to comment.