Skip to content

Commit c6b58cc

Browse files
committed
auto-launch installer
1 parent d6c7881 commit c6b58cc

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

src/projectM-iTunes/projectM Visualizer/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@implementation AppDelegate
1212

1313
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
14-
14+
[self installPlugin:nil];
1515
}
1616

1717
- (IBAction)installPlugin:(id)sender {

src/projectM-iTunes/projectM Visualizer/Base.lproj/MainMenu.xib

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -670,39 +670,28 @@
670670
<window title="projectM Visualizer Installer" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g">
671671
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
672672
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
673-
<rect key="contentRect" x="335" y="390" width="548" height="595"/>
673+
<rect key="contentRect" x="335" y="390" width="548" height="550"/>
674674
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1130"/>
675675
<view key="contentView" id="EiT-Mj-1SZ">
676-
<rect key="frame" x="0.0" y="0.0" width="548" height="595"/>
676+
<rect key="frame" x="0.0" y="0.0" width="548" height="550"/>
677677
<autoresizingMask key="autoresizingMask"/>
678678
<subviews>
679-
<button verticalHuggingPriority="750" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aHR-DO-27f">
680-
<rect key="frame" x="50" y="497" width="476" height="41"/>
681-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
682-
<buttonCell key="cell" type="smallSquare" title="Install Visualizer Plugin" bezelStyle="smallSquare" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="0cJ-Rd-qB5">
683-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
684-
<font key="font" metaFont="system" size="29"/>
685-
</buttonCell>
686-
<connections>
687-
<action selector="installPlugin:" target="Voe-Tx-rLC" id="cwU-9T-yKR"/>
688-
</connections>
689-
</button>
690679
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="rdR-Lj-8JC">
691-
<rect key="frame" x="50" y="17" width="478" height="397"/>
680+
<rect key="frame" x="50" y="19" width="478" height="397"/>
692681
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
693682
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" image="selectViz" id="5d9-ey-5n3"/>
694683
</imageView>
695684
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="WxE-5t-dwb">
696-
<rect key="frame" x="20" y="545" width="284" height="30"/>
685+
<rect key="frame" x="20" y="500" width="284" height="30"/>
697686
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
698-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Step 1: Install iTunes Plugin:" id="4nu-EM-RDw">
687+
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Step 1: Install iTunes Plugin" id="4nu-EM-RDw">
699688
<font key="font" metaFont="system" size="20"/>
700689
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
701690
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
702691
</textFieldCell>
703692
</textField>
704693
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sqM-dF-den">
705-
<rect key="frame" x="20" y="460" width="284" height="30"/>
694+
<rect key="frame" x="20" y="462" width="284" height="30"/>
706695
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
707696
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Step 2: Restart iTunes" id="ww5-kf-xWp">
708697
<font key="font" metaFont="system" size="20"/>
@@ -711,7 +700,7 @@
711700
</textFieldCell>
712701
</textField>
713702
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RDv-Kr-zjJ">
714-
<rect key="frame" x="20" y="422" width="333" height="30"/>
703+
<rect key="frame" x="20" y="424" width="333" height="30"/>
715704
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
716705
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Step 3: Select projectM Visualizer:" id="P7q-kW-dKI">
717706
<font key="font" metaFont="system" size="20"/>
@@ -721,10 +710,8 @@
721710
</textField>
722711
</subviews>
723712
<constraints>
724-
<constraint firstAttribute="trailing" secondItem="aHR-DO-27f" secondAttribute="trailing" constant="50" id="PIe-C2-Nuz"/>
725713
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="rdR-Lj-8JC" secondAttribute="trailing" constant="20" id="WgC-7L-DSV"/>
726714
<constraint firstItem="rdR-Lj-8JC" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="EiT-Mj-1SZ" secondAttribute="leading" constant="50" id="eKX-mt-h88"/>
727-
<constraint firstItem="aHR-DO-27f" firstAttribute="leading" secondItem="EiT-Mj-1SZ" secondAttribute="leading" constant="50" id="gmM-bS-TDU"/>
728715
<constraint firstAttribute="trailing" secondItem="rdR-Lj-8JC" secondAttribute="trailing" constant="20" id="oQh-kR-eLT"/>
729716
<constraint firstItem="rdR-Lj-8JC" firstAttribute="leading" secondItem="EiT-Mj-1SZ" secondAttribute="leading" constant="50" id="s11-KO-9pQ"/>
730717
</constraints>

0 commit comments

Comments
 (0)