Skip to content

Commit f95740a

Browse files
authored
Merge pull request #43 from speccytools/fdi
Open FDI disk images from Finder
2 parents e4166d4 + 7291ea4 commit f95740a

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

fusepb/Info-FuseX.plist

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,23 @@
5757
<string>net.sourceforge.projects.fuse-emulator.dsk</string>
5858
</array>
5959
</dict>
60+
<dict>
61+
<key>CFBundleTypeExtensions</key>
62+
<array>
63+
<string>fdi</string>
64+
<string>FDI</string>
65+
</array>
66+
<key>CFBundleTypeIconFile</key>
67+
<string>blank</string>
68+
<key>CFBundleTypeName</key>
69+
<string>ZX Spectrum Disk Image</string>
70+
<key>CFBundleTypeRole</key>
71+
<string>Viewer</string>
72+
<key>LSItemContentTypes</key>
73+
<array>
74+
<string>net.sourceforge.projects.fuse-emulator.fdi</string>
75+
</array>
76+
</dict>
6077
<dict>
6178
<key>CFBundleTypeExtensions</key>
6279
<array>
@@ -719,6 +736,25 @@
719736
</array>
720737
</dict>
721738
</dict>
739+
<dict>
740+
<key>UTTypeConformsTo</key>
741+
<array>
742+
<string>net.sourceforge.projects.fuse-emulator.MassStorage</string>
743+
</array>
744+
<key>UTTypeDescription</key>
745+
<string>ZX Spectrum FDI Disk Image</string>
746+
<key>UTTypeIconFile</key>
747+
<string>blank</string>
748+
<key>UTTypeIdentifier</key>
749+
<string>net.sourceforge.projects.fuse-emulator.fdi</string>
750+
<key>UTTypeTagSpecification</key>
751+
<dict>
752+
<key>public.filename-extension</key>
753+
<array>
754+
<string>fdi</string>
755+
</array>
756+
</dict>
757+
</dict>
722758
<dict>
723759
<key>UTTypeConformsTo</key>
724760
<array>

fusepb/controllers/FuseController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2679,6 +2679,7 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam
26792679
break;
26802680

26812681
case LIBSPECTRUM_CLASS_DISK_TRDOS:
2682+
case LIBSPECTRUM_CLASS_DISK_GENERIC:
26822683
settings_current.betadisk_file = strdup( fsrep );
26832684
break;
26842685

0 commit comments

Comments
 (0)