Skip to content

Commit

Permalink
Added new icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed May 23, 2018
1 parent bfe2a85 commit 60f7f94
Show file tree
Hide file tree
Showing 20 changed files with 6,542 additions and 13 deletions.
10 changes: 6 additions & 4 deletions FastDMG.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,27 @@
/* Begin PBXBuildFile section */
F42C834120AF048700E95DD4 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = F42C833F20AF048700E95DD4 /* MainWindow.xib */; };
F42C834420AF05A800E95DD4 /* FastDMGWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = F42C834320AF05A800E95DD4 /* FastDMGWindowController.m */; };
F431C63F20B5E8F800EC4D03 /* fastdmg.icns in Resources */ = {isa = PBXBuildFile; fileRef = F431C63E20B5E8F800EC4D03 /* fastdmg.icns */; };
F45AC0FD20ACDB4E0086DF1D /* FastDMGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F45AC0FC20ACDB4E0086DF1D /* FastDMGAppDelegate.m */; };
F45AC10220ACDB4F0086DF1D /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = F45AC10020ACDB4F0086DF1D /* MainMenu.xib */; };
F45AC10520ACDB4F0086DF1D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F45AC10420ACDB4F0086DF1D /* main.m */; };
F45AC10D20ADA1210086DF1D /* diskcopy-doc.icns in Resources */ = {isa = PBXBuildFile; fileRef = F45AC10C20ADA1210086DF1D /* diskcopy-doc.icns */; };
F49A991120ADD6470064B9A4 /* app.icns in Resources */ = {isa = PBXBuildFile; fileRef = F49A991020ADD6470064B9A4 /* app.icns */; };
F49A991820ADD90F0064B9A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = F49A991720ADD90F0064B9A4 /* Credits.rtf */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
F42C834020AF048700E95DD4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainWindow.xib; sourceTree = "<group>"; };
F42C834220AF05A800E95DD4 /* FastDMGWindowController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FastDMGWindowController.h; sourceTree = "<group>"; };
F42C834320AF05A800E95DD4 /* FastDMGWindowController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FastDMGWindowController.m; sourceTree = "<group>"; };
F431C63E20B5E8F800EC4D03 /* fastdmg.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = fastdmg.icns; sourceTree = "<group>"; };
F431C64020B5EEFA00EC4D03 /* fastdmg.iconset */ = {isa = PBXFileReference; lastKnownFileType = folder.iconset; path = fastdmg.iconset; sourceTree = "<group>"; };
F45AC0F820ACDB4E0086DF1D /* FastDMG.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FastDMG.app; sourceTree = BUILT_PRODUCTS_DIR; };
F45AC0FB20ACDB4E0086DF1D /* FastDMGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FastDMGAppDelegate.h; sourceTree = "<group>"; };
F45AC0FC20ACDB4E0086DF1D /* FastDMGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FastDMGAppDelegate.m; sourceTree = "<group>"; };
F45AC10120ACDB4F0086DF1D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
F45AC10320ACDB4F0086DF1D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
F45AC10420ACDB4F0086DF1D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
F45AC10C20ADA1210086DF1D /* diskcopy-doc.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "diskcopy-doc.icns"; sourceTree = "<group>"; };
F49A991020ADD6470064B9A4 /* app.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = app.icns; sourceTree = "<group>"; };
F49A991720ADD90F0064B9A4 /* Credits.rtf */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = "<group>"; };
F49A991B20ADEAC30064B9A4 /* LICENSE.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE.txt; sourceTree = "<group>"; };
F49A991C20ADEAC30064B9A4 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
Expand Down Expand Up @@ -77,8 +78,9 @@
F42C833F20AF048700E95DD4 /* MainWindow.xib */,
F49A991720ADD90F0064B9A4 /* Credits.rtf */,
F45AC10320ACDB4F0086DF1D /* Info.plist */,
F431C64020B5EEFA00EC4D03 /* fastdmg.iconset */,
F431C63E20B5E8F800EC4D03 /* fastdmg.icns */,
F45AC10C20ADA1210086DF1D /* diskcopy-doc.icns */,
F49A991020ADD6470064B9A4 /* app.icns */,
);
path = FastDMG;
sourceTree = "<group>";
Expand Down Expand Up @@ -143,7 +145,7 @@
files = (
F42C834120AF048700E95DD4 /* MainWindow.xib in Resources */,
F49A991820ADD90F0064B9A4 /* Credits.rtf in Resources */,
F49A991120ADD6470064B9A4 /* app.icns in Resources */,
F431C63F20B5E8F800EC4D03 /* fastdmg.icns in Resources */,
F45AC10220ACDB4F0086DF1D /* MainMenu.xib in Resources */,
F45AC10D20ADA1210086DF1D /* diskcopy-doc.icns in Resources */,
);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F45AC0F720ACDB4E0086DF1D"
BuildableName = "FastDMG.app"
BlueprintName = "FastDMG"
ReferencedContainer = "container:FastDMG.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F45AC0F720ACDB4E0086DF1D"
BuildableName = "FastDMG.app"
BlueprintName = "FastDMG"
ReferencedContainer = "container:FastDMG.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F45AC0F720ACDB4E0086DF1D"
BuildableName = "FastDMG.app"
BlueprintName = "FastDMG"
ReferencedContainer = "container:FastDMG.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F45AC0F720ACDB4E0086DF1D"
BuildableName = "FastDMG.app"
BlueprintName = "FastDMG"
ReferencedContainer = "container:FastDMG.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>F45AC0F720ACDB4E0086DF1D</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
12 changes: 6 additions & 6 deletions FastDMG/Base.lproj/MainWindow.xib
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
<rect key="frame" x="0.0" y="0.0" width="300" height="420"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="1Nz-Rk-TJR">
<rect key="frame" x="118" y="336" width="64" height="64"/>
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="app" id="O0O-O9-e95"/>
</imageView>
<scrollView fixedFrame="YES" borderType="none" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" hasVerticalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9id-1a-TRw">
<rect key="frame" x="20" y="186" width="260" height="117"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down Expand Up @@ -120,6 +115,11 @@
</subviews>
</view>
</box>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="1Nz-Rk-TJR">
<rect key="frame" x="102" y="317" width="96" height="96"/>
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="fastdmg" id="O0O-O9-e95"/>
</imageView>
</subviews>
</view>
<connections>
Expand All @@ -130,6 +130,6 @@
<userDefaultsController representsSharedInstance="YES" id="0Np-7J-JZb"/>
</objects>
<resources>
<image name="app" width="512" height="512"/>
<image name="fastdmg" width="512" height="512"/>
</resources>
</document>
3 changes: 2 additions & 1 deletion FastDMG/FastDMGAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ - (void)mountDiskImage:(NSString *)diskImagePath {
if (task.terminationStatus == 0 && [DEFAULTS boolForKey:@"OpenDiskImage"]) {

// Parse task output
NSString *mountPoint = [self parseOutputForMountPath:[[task.standardOutput fileHandleForReading] readDataToEndOfFile]];
NSData *data = [[task.standardOutput fileHandleForReading] readDataToEndOfFile];
NSString *mountPoint = [self parseOutputForMountPath:data];

if (mountPoint) {
// Make sure volume has been mounted at mount point
Expand Down
6 changes: 4 additions & 2 deletions FastDMG/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@
<string>Viewer</string>
</dict>
</array>
<key>CFBundleIconFile</key>
<string>app</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand Down Expand Up @@ -244,5 +242,9 @@
<string>Copyright © 2012-2018 Sveinbjorn Thordarson. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>
<string>fastdmg</string>
<key>NSSupportsSuddenTermination</key>
<true/>
</dict>
</plist>
Binary file removed FastDMG/app.icns
Binary file not shown.
6,425 changes: 6,425 additions & 0 deletions FastDMG/fastdmg.ai

Large diffs are not rendered by default.

Binary file added FastDMG/fastdmg.icns
Binary file not shown.
Binary file added FastDMG/fastdmg.iconset/icon_128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/icon_16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/icon_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/icon_32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/icon_512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FastDMG/fastdmg.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastdmg_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 60f7f94

Please sign in to comment.