Skip to content

Commit

Permalink
Added .fts extension
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCyberBrick committed Sep 22, 2021
1 parent 1053da7 commit 0eea1b8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# FITS Explorer Extension

This application enables the Windows Explorer to show thumbnails for .fit/.fits images which are commonly used in astrophotography.
This application enables the Windows Explorer to show thumbnails for .fit/.fits/.fts images which are commonly used in astrophotography.

##### Features
- Auto stretch based on the PixInsight algorithm
Expand Down
3 changes: 3 additions & 0 deletions installer/COMRegistryComponents.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<RegistryValue Root="HKCU" Key="Software\Classes\.fit" Value="FITSExplorerExtension" Type="string" Action="write" />
<RegistryValue Root="HKCU" Key="Software\Classes\.fits\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}" Value="{98F32316-5EE8-4424-A39C-FA4E23720EFD}" Type="string" Action="write" />
<RegistryValue Root="HKCU" Key="Software\Classes\.fits" Value="FITSExplorerExtension" Type="string" Action="write" />
<RegistryValue Root="HKCU" Key="Software\Classes\.fts\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}" Value="{98F32316-5EE8-4424-A39C-FA4E23720EFD}" Type="string" Action="write" />
<RegistryValue Root="HKCU" Key="Software\Classes\.fts" Value="FITSExplorerExtension" Type="string" Action="write" />
<RegistryValue Root="HKCU" Key="Software\Classes\CLSID\{98F32316-5EE8-4424-A39C-FA4E23720EFD}\InProcServer32" Value="[!FITSExplorerExtension.dll]" Type="string" Action="write" KeyPath="yes" />
<RegistryValue Root="HKCU" Key="Software\Classes\CLSID\{98F32316-5EE8-4424-A39C-FA4E23720EFD}\InProcServer32" Name="ThreadingModel" Value="Apartment" Type="string" Action="write" />
<RegistryValue Root="HKCU" Key="Software\Classes\CLSID\{98F32316-5EE8-4424-A39C-FA4E23720EFD}" Value="FITSExplorerExtension" Type="string" Action="write" />
Expand All @@ -22,6 +24,7 @@
<RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Explorer" Name="GlobalAssocChangedCounter" Value="1" Type="integer" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.fit" Value="{98F32316-5EE8-4424-A39C-FA4E23720EFD}" Type="string" Action="write" KeyPath="yes" />
<RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.fits" Value="{98F32316-5EE8-4424-A39C-FA4E23720EFD}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.fts" Value="{98F32316-5EE8-4424-A39C-FA4E23720EFD}" Type="string" Action="write" />
</Component>
</DirectoryRef>
</Fragment>
Expand Down
2 changes: 1 addition & 1 deletion installer/COMRegistryComponents.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<xsl:with-param name="file-id" select="'FITSExplorerExtension.dll'" />
<xsl:with-param name="hkcu-component-id" select="'COMRegistryComponentHKCU'" />
<xsl:with-param name="hkcu-component-guid" select="'9AC82F77-FEF6-4079-B2D6-BC62FD79E6D2'" />
<xsl:with-param name="hkcu-keypath-position" select="5" />
<xsl:with-param name="hkcu-keypath-position" select="7" />
<xsl:with-param name="hklm-component-id" select="'COMRegistryComponentHKLM'" />
<xsl:with-param name="hklm-component-guid" select="'F0712DE2-7B4B-4BAD-A32E-F72DC5C7A724'" />
<xsl:with-param name="hklm-keypath-position" select="2" />
Expand Down
2 changes: 1 addition & 1 deletion shellextension/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct PROPERTYLIST

const LPWSTR SZ_PROG_ID = L"FITSExplorerExtension";
const LPWSTR SZ_PROG_NAME = L"FITS Explorer Extension";
const LPWSTR SZ_FILE_EXT[] = { L"fit", L"fits" };
const LPWSTR SZ_FILE_EXT[] = { L"fit", L"fits", L"fts" };

const PROPERTYLIST PROPERTY_LISTS[] = {
{ L"InfoTip", L"prop:System.Image.Dimensions;System.Image.BitDepth;System.Photo.ExposureTime;System.Photo.FocalLength;System.Photo.Aperture;System.Size" },
Expand Down

0 comments on commit 0eea1b8

Please sign in to comment.