Skip to content

Commit

Permalink
Updated documentation, renamed nib file
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed May 22, 2018
1 parent 9952371 commit bfe2a85
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
12 changes: 6 additions & 6 deletions FastDMG.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
F42C834120AF048700E95DD4 /* FastDMGWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = F42C833F20AF048700E95DD4 /* FastDMGWindow.xib */; };
F42C834120AF048700E95DD4 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = F42C833F20AF048700E95DD4 /* MainWindow.xib */; };
F42C834420AF05A800E95DD4 /* FastDMGWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = F42C834320AF05A800E95DD4 /* FastDMGWindowController.m */; };
F45AC0FD20ACDB4E0086DF1D /* FastDMGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F45AC0FC20ACDB4E0086DF1D /* FastDMGAppDelegate.m */; };
F45AC10220ACDB4F0086DF1D /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = F45AC10020ACDB4F0086DF1D /* MainMenu.xib */; };
Expand All @@ -18,7 +18,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
F42C834020AF048700E95DD4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/FastDMGWindow.xib; sourceTree = "<group>"; };
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>"; };
F45AC0F820ACDB4E0086DF1D /* FastDMG.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FastDMG.app; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -74,7 +74,7 @@
F42C834220AF05A800E95DD4 /* FastDMGWindowController.h */,
F42C834320AF05A800E95DD4 /* FastDMGWindowController.m */,
F45AC10020ACDB4F0086DF1D /* MainMenu.xib */,
F42C833F20AF048700E95DD4 /* FastDMGWindow.xib */,
F42C833F20AF048700E95DD4 /* MainWindow.xib */,
F49A991720ADD90F0064B9A4 /* Credits.rtf */,
F45AC10320ACDB4F0086DF1D /* Info.plist */,
F45AC10C20ADA1210086DF1D /* diskcopy-doc.icns */,
Expand Down Expand Up @@ -141,7 +141,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F42C834120AF048700E95DD4 /* FastDMGWindow.xib in Resources */,
F42C834120AF048700E95DD4 /* MainWindow.xib in Resources */,
F49A991820ADD90F0064B9A4 /* Credits.rtf in Resources */,
F49A991120ADD6470064B9A4 /* app.icns in Resources */,
F45AC10220ACDB4F0086DF1D /* MainMenu.xib in Resources */,
Expand Down Expand Up @@ -182,12 +182,12 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
F42C833F20AF048700E95DD4 /* FastDMGWindow.xib */ = {
F42C833F20AF048700E95DD4 /* MainWindow.xib */ = {
isa = PBXVariantGroup;
children = (
F42C834020AF048700E95DD4 /* Base */,
);
name = FastDMGWindow.xib;
name = MainWindow.xib;
sourceTree = "<group>";
};
F45AC10020ACDB4F0086DF1D /* MainMenu.xib */ = {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion FastDMG/FastDMGAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ - (BOOL)transformToForeground {
- (IBAction)showWindow:(id)sender {
// Load window lazily
if (windowController == nil) {
windowController = [[FastDMGWindowController alloc] initWithWindowNibName:@"FastDMGWindow"];
windowController = [[FastDMGWindowController alloc] initWithWindowNibName:@"MainWindow"];
}
[windowController showWindow:self];
}
Expand Down
4 changes: 3 additions & 1 deletion FastDMG/FastDMGWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ - (void)windowDidLoad {
}

- (void)windowWillClose:(NSNotification *)notification {
[[NSApplication sharedApplication] terminate:self];
// if ([[NSUserDefaults standardUserDefaults] boolForKey:@"QuitAfterMounting"]) {
[[NSApplication sharedApplication] terminate:self];
// }
}

@end
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ FastDMG is a macOS utility to quickly and efficiently mount `.dmg` and other dis
* Displays no windows or menus and stays out of your way
* Multithreaded and can concurrently mount several images
* Disk image document icons continue to look the same
* Handles all disk image types supported by DiskImageMounter (dmg, iso, smi, etc.)

FastDMG is a minimal wrapper around the [ `hdiutil`](https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/hdiutil.1.html) command line tool that ships with macOS. It therefore uses Apple's private DiskImages framework indirectly. It is free, open source software. If you like it, feel free to [make a donation](https://sveinbjorn.org/donations).

Expand All @@ -24,7 +25,7 @@ FastDMG is a minimal wrapper around the [ `hdiutil`](https://developer.apple.com
* Select FastDMG under "Open with:"
* Press "Change All..."

FastDMG will then take care of mounting `.dmg` disk images when you open them in the Finder.
FastDMG will then take care of mounting `.dmg` disk images when you open them in the Finder. You can do the same for `.iso`, `.smi` and any other disk images supported by FastDMG.

## BSD License

Expand Down

0 comments on commit bfe2a85

Please sign in to comment.