diff --git a/.gitignore b/.gitignore index 77f0b7f..9472ec1 100644 --- a/.gitignore +++ b/.gitignore @@ -331,3 +331,4 @@ ASALocalRun/ /*.qlplugin /GitVersion.cs /SyncfusionKey.cs +/QuickLook.Plugin.Metadata.config diff --git a/QuickLook.Plugin.Metadata.config b/QuickLook.Plugin.Metadata.Base.config similarity index 90% rename from QuickLook.Plugin.Metadata.config rename to QuickLook.Plugin.Metadata.Base.config index 95305bb..072f1aa 100644 --- a/QuickLook.Plugin.Metadata.config +++ b/QuickLook.Plugin.Metadata.Base.config @@ -1,6 +1,6 @@ - QuickLook.Plugin.OfficeViewer + 0 View Word, Excel, and PowerPoint files without Office installation. \ No newline at end of file diff --git a/QuickLook.Plugin.OfficeViewer.csproj b/QuickLook.Plugin.OfficeViewer.csproj index 5d46921..62332ae 100644 --- a/QuickLook.Plugin.OfficeViewer.csproj +++ b/QuickLook.Plugin.OfficeViewer.csproj @@ -128,6 +128,7 @@ + diff --git a/Scripts/update-version.ps1 b/Scripts/update-version.ps1 index e7e09fa..276f799 100644 --- a/Scripts/update-version.ps1 +++ b/Scripts/update-version.ps1 @@ -10,4 +10,9 @@ using System.Reflection; [assembly: AssemblyInformationalVersion("$revision")] "@ -$text | Out-File $PSScriptRoot\..\GitVersion.cs -Encoding utf8 \ No newline at end of file +$text | Out-File $PSScriptRoot\..\GitVersion.cs -Encoding utf8 + + +$xml = [xml](Get-Content $PSScriptRoot\..\QuickLook.Plugin.Metadata.Base.config) +$xml.Metadata.Version="$revision" +$xml.Save("$PSScriptRoot\..\QuickLook.Plugin.Metadata.config") \ No newline at end of file