@@ -87,11 +87,11 @@ def main(argv=None):
87
87
wrappers += glob .glob (os .path .join (args .cswrapper_dir , 'bin' , 'x86' , '*' , '*.pdb' ))
88
88
wrappers += glob .glob (os .path .join (args .cswrapper_dir , 'bin' , 'x86' , '*' , '*.XML' ))
89
89
90
- if not os .path .exists (os .path .join (work_dir , 'contentFiles' , 'uap10.0 ' , 'belr' , 'grammars' )):
91
- os .makedirs (os .path .join (work_dir , 'contentFiles' , 'uap10.0 ' , 'belr' , 'grammars' ))
90
+ if not os .path .exists (os .path .join (work_dir , 'contentFiles' , 'AppX' , 'Assets ' , 'belr' , 'grammars' )):
91
+ os .makedirs (os .path .join (work_dir , 'contentFiles' , 'AppX' , 'Assets ' , 'belr' , 'grammars' ))
92
92
93
93
for grammar in grammars :
94
- shutil .copy (grammar , os .path .join (work_dir , 'contentFiles' , 'uap10.0 ' , 'belr' , 'grammars' ))
94
+ shutil .copy (grammar , os .path .join (work_dir , 'contentFiles' , 'AppX' , 'Assets ' , 'belr' , 'grammars' ))
95
95
for dll in dlls :
96
96
shutil .copy (dll , os .path .join (work_dir , 'build' , 'uap10.0' , 'x86' ))
97
97
for pdb in pdbs :
@@ -109,8 +109,15 @@ def main(argv=None):
109
109
<Content Include="$(MSBuildThisFileDirectory)\$(Platform)\*.dll;$(MSBuildThisFileDirectory)\$(Platform)\*.pdb">
110
110
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
111
111
</Content>
112
- </ItemGroup>
113
- </Target>
112
+ </ItemGroup>
113
+ </Target>
114
+ <ItemGroup>
115
+ <RequiredFiles Include="$(MSBuildThisFileDirectory)\..\..\content\**\*_grammar" />
116
+ <None Include="@(RequiredFiles)">
117
+ <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
118
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
119
+ </None>
120
+ </ItemGroup>
114
121
</Project>"""
115
122
f = open (os .path .join (work_dir , 'build' , 'uap10.0' , target_id + '.targets' ), 'w' )
116
123
f .write (targets )
@@ -124,20 +131,17 @@ def main(argv=None):
124
131
<version>{version}</version>
125
132
<authors>Belledonne Communications</authors>
126
133
<owners>Belledonne Communications</owners>
127
- <licenseUrl>http ://www.gnu.org/licenses/old-licenses/ gpl-2 .0.html</licenseUrl>
134
+ <licenseUrl>https ://www.gnu.org/licenses/gpl-3 .0.html</licenseUrl>
128
135
<projectUrl>https://linphone.org/</projectUrl>
129
136
<iconUrl>https://raw.githubusercontent.com/BelledonneCommunications/linphone-windows10/master/Linphone/Assets/logo-BC.png</iconUrl>
130
137
<requireLicenseAcceptance>false</requireLicenseAcceptance>
131
138
<description>{target_desc}</description>
132
139
<releaseNotes>Nothing new</releaseNotes>
133
- <copyright>Copyright 2017-2019 Belledonne Communications</copyright>
140
+ <copyright>Copyright 2017-2020 Belledonne Communications</copyright>
134
141
<tags>SIP</tags>
135
- <contentFiles>
136
- <files include="**/*grammar" buildAction="EmbeddedResource" />
137
- </contentFiles>
138
142
</metadata>
139
143
<files>
140
- <file src="contentFiles\**\*grammar " target="content\" />
144
+ <file src="contentFiles\**" target="content\" />
141
145
<file src="lib\**" target="lib\" />
142
146
<file src="build\**" target="build\" />
143
147
</files>
0 commit comments