mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 06:29:44 +08:00
Add clean script to Wox.csproj
This commit is contained in:
parent
87958d9db8
commit
c7e73924c8
@ -1,23 +0,0 @@
|
||||
echo "start clean"
|
||||
cd /d %~dp0
|
||||
|
||||
REM Clean Plugins
|
||||
echo "clean plugins"
|
||||
cd ..\Output\Release\Plugins
|
||||
del NLog.dll /s
|
||||
del NLog.config /s
|
||||
del Wox.Plugin.pdb /s
|
||||
del Wox.Plugin.dll /s
|
||||
del Wox.Core.dll /s
|
||||
del Wox.Core.pdb /s
|
||||
del ICSharpCode.SharpZipLib.dll /s
|
||||
del NAppUpdate.Framework.dll /s
|
||||
del Wox.Infrastructure.dll /s
|
||||
del Wox.Infrastructure.pdb /s
|
||||
del Newtonsoft.Json.dll /s
|
||||
del WindowsInput.dll /s
|
||||
|
||||
REM Clean Wox
|
||||
echo "wox"
|
||||
cd ..
|
||||
del *.xml
|
BIN
Plugins/Wox.Plugin.Everything/x64/Everything.dll
Normal file
BIN
Plugins/Wox.Plugin.Everything/x64/Everything.dll
Normal file
Binary file not shown.
@ -15,11 +15,9 @@
|
||||
Error - error messages
|
||||
Fatal - very serious errors-->
|
||||
<targets>
|
||||
<target xsi:type="File" name="file" fileName="${basedir}/logs/${shortdate}.log"/>
|
||||
<target xsi:type="Console" name="console" />
|
||||
<target xsi:type="File" name="file" fileName="${basedir}/Logs/${shortdate}.log"/>
|
||||
</targets>
|
||||
<rules>
|
||||
<logger name="*" minlevel="Warn" writeTo="file" />
|
||||
<logger name="*" minlevel="Debug" writeTo="console" />
|
||||
</rules>
|
||||
</nlog>
|
@ -313,10 +313,24 @@
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>xcopy /Y $(ProjectDir)Themes\* $(TargetDir)Themes\
|
||||
xcopy /Y /E $(ProjectDir)Images\* $(TargetDir)Images\
|
||||
del /s /q "$(TargetDir)*.xml"
|
||||
xcopy /Y /D /E $(SolutionDir)PythonHome\* $(TargetDir)PythonHome\</PostBuildEvent>
|
||||
<PostBuildEvent>xcopy /Y $(ProjectDir)Themes\* $(TargetDir)Themes\
|
||||
xcopy /Y /E $(ProjectDir)Images\* $(TargetDir)Images\
|
||||
xcopy /Y /D /E $(SolutionDir)PythonHome\* $(TargetDir)PythonHome\
|
||||
|
||||
cd "$(TargetDir)" & del /s /q *.xml
|
||||
|
||||
cd "$(TargetDir)Plugins" & del /s /q NLog.dll
|
||||
cd "$(TargetDir)Plugins" & del /s /q NLog.config
|
||||
cd "$(TargetDir)Plugins" & del /s /q Wox.Plugin.pdb
|
||||
cd "$(TargetDir)Plugins" & del /s /q Wox.Plugin.dll
|
||||
cd "$(TargetDir)Plugins" & del /s /q Wox.Core.dll
|
||||
cd "$(TargetDir)Plugins" & del /s /q Wox.Core.pdb
|
||||
cd "$(TargetDir)Plugins" & del /s /q ICSharpCode.SharpZipLib.dll
|
||||
cd "$(TargetDir)Plugins" & del /s /q NAppUpdate.Framework.dll
|
||||
cd "$(TargetDir)Plugins" & del /s /q Wox.Infrastructure.dll
|
||||
cd "$(TargetDir)Plugins" & del /s /q Wox.Infrastructure.pdb
|
||||
cd "$(TargetDir)Plugins" & del /s /q Newtonsoft.Json.dll
|
||||
cd "$(TargetDir)Plugins" & del /s /q WindowsInput.dll</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
Loading…
Reference in New Issue
Block a user