Skip to content

Commit

Permalink
license file tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhngtu committed Aug 15, 2022
1 parent 83306f7 commit 46510db
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion VietType.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.clang-format = .clang-format
build64.bat = build64.bat
LICENSE = LICENSE
LICENSE.rtf = LICENSE.rtf
UpdateVersion.ps1 = UpdateVersion.ps1
UpdateVersionCs.ps1 = UpdateVersionCs.ps1
UpdateVersionWix.ps1 = UpdateVersionWix.ps1
Expand Down
2 changes: 2 additions & 0 deletions VietTypeConfig/NativeMethods.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only

using System;
using System.Runtime.InteropServices;

Expand Down
2 changes: 2 additions & 0 deletions VietTypeConfig/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only

using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
2 changes: 2 additions & 0 deletions VietTypeConfig/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 2 additions & 0 deletions VietTypeConfig/Settings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only

using Microsoft.Win32;
using System;
using System.ComponentModel;
Expand Down
2 changes: 1 addition & 1 deletion VietTypeSetup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SPDX-License-Identifier: GPL-3.0-only
</Feature>

<UIRef Id="WixUI_Minimal" />
<WixVariable Id="WixUILicenseRtf" Value="$(var.SolutionDir)\LICENSE.rtf" />
<WixVariable Id="WixUILicenseRtf" Value="licembed.rtf" />

<Condition Message="VietType is only compatible with Windows 8 and newer.">Installed OR (VersionNT >= 602)</Condition>

Expand Down
3 changes: 3 additions & 0 deletions VietTypeSetup/VietTypeSetup.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="licembed.rtf" />
</ItemGroup>
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
Expand Down
File renamed without changes.

0 comments on commit 46510db

Please sign in to comment.