diff --git a/src/modules/launcher/Wox.Infrastructure/Wox.Infrastructure.csproj b/src/modules/launcher/Wox.Infrastructure/Wox.Infrastructure.csproj
index afb2bb20c1..2597ff8a3b 100644
--- a/src/modules/launcher/Wox.Infrastructure/Wox.Infrastructure.csproj
+++ b/src/modules/launcher/Wox.Infrastructure/Wox.Infrastructure.csproj
@@ -106,10 +106,9 @@
- cd $(SolutionDir)packages\Pinyin4DotNet*\pinyindb\
-xcopy /Y unicode_to_hanyu_pinyin.txt $(TargetDir)pinyindb\
-cd $(SolutionDir)packages\NLog.Schema*\content\
-xcopy /Y NLog.xsd $(TargetDir)
+
+ xcopy /Y $(PkgPinyin4DotNet)\pinyindb\unicode_to_hanyu_pinyin.txt $(TargetDir)pinyindb\
+ xcopy /Y $(PkgNLog_Schema)\content\NLog.xsd $(TargetDir)