diff --git a/Deploy/squirrel_installer.ps1 b/Deploy/squirrel_installer.ps1 deleted file mode 100644 index 9c1d010d1f..0000000000 --- a/Deploy/squirrel_installer.ps1 +++ /dev/null @@ -1,15 +0,0 @@ -$currentPath = Convert-Path . -Write-Host "Current path: " + $currentPath - -$path = $env:APPVEYOR_BUILD_FOLDER + "\Deploy\wox.nuspec" -Write-Host "nuspec path: " + $path -& nuget.exe pack $path -Version $env:APPVEYOR_BUILD_VERSION -Properties Configuration=Release - -$nupkgPath = $env:APPVEYOR_BUILD_FOLDER + "\Wox." + $env:APPVEYOR_BUILD_VERSION + ".nupkg" -Write-Host "nupkg path: " + $nupkgPath - -# must use Squirrel.com, Squirrel.exe will produce nothing -$squirrelPath = $env:APPVEYOR_BUILD_FOLDER + "\packages\squirrel*\tools\Squirrel.com" -Write-Host "squirrel path: " + $squirrelPath -$iconPath = $env:APPVEYOR_BUILD_FOLDER + "\Wox\Resources\app.ico" -& $squirrelPath --releasify $nupkgPath --setupIcon $iconPath --no-msi diff --git a/Deploy/wox.nuspec b/Deploy/wox.nuspec index 448cc8ea35..194cdcb5ec 100644 --- a/Deploy/wox.nuspec +++ b/Deploy/wox.nuspec @@ -11,6 +11,6 @@ Wox - a launcher for windows - + diff --git a/SolutionAssemblyInfo.cs b/SolutionAssemblyInfo.cs index 980e82176d..0c060df81f 100644 --- a/SolutionAssemblyInfo.cs +++ b/SolutionAssemblyInfo.cs @@ -15,6 +15,6 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] -[assembly: AssemblyVersion("1.2.0")] -[assembly: AssemblyFileVersion("1.2.0")] -[assembly: AssemblyInformationalVersion("1.2.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0.*")] +[assembly: AssemblyFileVersion("1.2.0.*")] +[assembly: AssemblyInformationalVersion("1.2.0.*")] \ No newline at end of file diff --git a/Wox/Wox.csproj b/Wox/Wox.csproj index 857b5d521c..0f209196a4 100644 --- a/Wox/Wox.csproj +++ b/Wox/Wox.csproj @@ -157,7 +157,6 @@ Properties\SolutionAssemblyInfo.cs - @@ -172,9 +171,6 @@ - - WoxUpdate.xaml - MSBuild:Compile Designer @@ -182,11 +178,6 @@ ActionKeywords.xaml - - - - - @@ -224,6 +215,10 @@ Designer PreserveNewest + + MSBuild:Compile + Designer + PreserveNewest @@ -332,10 +327,6 @@ Designer PreserveNewest - - Designer - MSBuild:Compile - @@ -418,29 +409,31 @@ - xcopy /Y $(ProjectDir)Themes\* $(TargetDir)Themes\ -xcopy /Y /E $(ProjectDir)Images\* $(TargetDir)Images\ -xcopy /Y /D /E $(SolutionDir)Plugins\HelloWorldPython\* $(TargetDir)Plugins\HelloWorldPython\* - + + xcopy /Y $(ProjectDir)Themes\* $(TargetDir)Themes\ + xcopy /Y /E $(ProjectDir)Images\* $(TargetDir)Images\ + xcopy /Y /D /E $(SolutionDir)Plugins\HelloWorldPython\* $(TargetDir)Plugins\HelloWorldPython\* -if $(ConfigurationName) == Release ( -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 JetBrains.Annotations.dll -cd "$(TargetDir)Plugins" & del /s /q Pinyin4Net.dll -cd "$(TargetDir)" & del /s /q *.xml -) + if $(ConfigurationName) == Release ( + 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 JetBrains.Annotations.dll + cd "$(TargetDir)Plugins" & del /s /q Pinyin4Net.dll + + cd "$(TargetDir)" & del /s /q *.xml + ) + @@ -448,9 +441,14 @@ cd "$(TargetDir)" & del /s /q *.xml - + + + + + + - --> \ No newline at end of file diff --git a/Wox/packages.config b/Wox/packages.config index e822764989..d828900ca6 100644 --- a/Wox/packages.config +++ b/Wox/packages.config @@ -8,6 +8,7 @@ + diff --git a/appveyor.yml b/appveyor.yml index 437f7f60ef..71432ab3b4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,16 +17,10 @@ after_test: .\Deploy\nuget.ps1 .\Deploy\binary_zip.ps1 - - .\Deploy\squirrel_installer.ps1 artifacts: - path: 'Wox-*.zip' name: zipped_binary - path: '*.nupkg' name: nuget_package -- path: '\Releases\*.exe' - name: installer -- path: '\Releases\*.nupkg' - name: installer -- path: 'Releases\RELEASES' +- path: '\Output\Releases\Installer\*.*' name: installer \ No newline at end of file