3
3
<PropertyGroup >
4
4
<OutputType >Library</OutputType >
5
5
<TargetFramework >net6.0-windows</TargetFramework >
6
- <UseWPF >true</UseWPF >
6
+ <UseWPF >true</UseWPF >
7
7
<ProjectGuid >{9B130CC5-14FB-41FF-B310-0A95B6894C37}</ProjectGuid >
8
8
<AppDesignerFolder >Properties</AppDesignerFolder >
9
9
<RootNamespace >Flow.Launcher.Plugin.BrowserBookmark</RootNamespace >
23
23
<WarningLevel >4</WarningLevel >
24
24
<Prefer32Bit >false</Prefer32Bit >
25
25
</PropertyGroup >
26
-
26
+
27
27
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
28
28
<DebugType >pdbonly</DebugType >
29
29
<Optimize >true</Optimize >
39
39
<CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
40
40
</None >
41
41
</ItemGroup >
42
-
43
- <ItemGroup >
44
- <Content Include =" x64\SQLite.Interop.dll" >
45
- <CopyToOutputDirectory >Always</CopyToOutputDirectory >
46
- </Content >
47
- <Content Include =" x86\SQLite.Interop.dll" >
48
- <CopyToOutputDirectory >Always</CopyToOutputDirectory >
49
- </Content >
50
- </ItemGroup >
51
42
52
43
<ItemGroup >
53
44
<ProjectReference Include =" ..\..\Flow.Launcher.Infrastructure\Flow.Launcher.Infrastructure.csproj" />
64
55
</ItemGroup >
65
56
66
57
<ItemGroup >
67
- <PackageReference Include =" System.Data.SQLite" Version =" 1.0.114.4 " />
58
+ <PackageReference Include =" System.Data.SQLite" Version =" 1.0.116 " />
68
59
<PackageReference Include =" System.Data.SQLite.Core" Version =" 1.0.116" />
69
60
<PackageReference Include =" UnidecodeSharp" Version =" 1.0.0" />
70
61
</ItemGroup >
73
64
<Compile Remove =" Bookmark.cs" />
74
65
</ItemGroup >
75
66
67
+ <Target Name =" CopyDLLs" AfterTargets =" Build" >
68
+ <Message Text =" Executing CopyDLLs task" Importance =" High" />
69
+ <Copy
70
+ SourceFiles =" $(TargetDir)\runtimes\win-x64\native\SQLite.Interop.dll"
71
+ DestinationFolder =" $(TargetDir)\x64" />
72
+ <Copy
73
+ SourceFiles =" $(TargetDir)\runtimes\win-x86\native\SQLite.Interop.dll"
74
+ DestinationFolder =" $(TargetDir)\x86" />
75
+ </Target >
76
+
77
+ <Target Name =" DeleteRuntimesFolder" AfterTargets =" CopyDLLs" >
78
+ <Message Text =" Deleting runtimes folder" Importance =" High" />
79
+ <Delete Files =" $(TargetDir)\runtimes" />
80
+ </Target >
81
+
76
82
</Project >
0 commit comments