Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.15.1 #65

Merged
merged 2 commits into from May 5, 2019
Merged

V1.15.1 #65

Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

fix #64

  • Loading branch information...
newbe36524 committed May 5, 2019
commit 955e210ee0ec0f4ed93e7f8799dbaaff64cad0d9
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.15.0</VersionPrefix>
<VersionPrefix>1.15.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Newbe</Authors>
<Company>Newbe</Company>
@@ -156,6 +156,8 @@ function WriteCqpJsonFile ($targetFilePath) {
Task PackCQP -depends DonwloadPackages, Build -Description "CQP打包" {
$InstalledPlatforms | Where-Object {$_.id -eq "Newbe.Mahua.CQP"} | ForEach-Object {
Exec {
# CQP 要求 dll 名称和 appid 要相同,并且为小写
$cqpPluginDllName = $pluginName.ToLowerInvariant()
$toolBase = Get-Download-Package-ToolsDir -package $_
New-Item -ItemType Directory "$releaseBase\CQP"
New-Item -ItemType Directory "$releaseBase\CQP\$pluginName"
@@ -164,8 +166,8 @@ Task PackCQP -depends DonwloadPackages, Build -Description "CQP打包" {
Copy-Item -Path "$toolBase\NewbeLibs\Platform\CLR\*" -Destination "$releaseBase\CQP" -Recurse
Copy-FrameworkExtensionItems -dest "$releaseBase\CQP\$pluginName"
Copy-Item -Path "$releaseBase\$configuration\*", "$toolBase\NewbeLibs\Platform\CLR\*" -Destination "$releaseBase\CQP\$pluginName" -Recurse
Copy-Item -Path "$toolBase\NewbeLibs\Platform\Native\Newbe.Mahua.CQP.Native.dll" -Destination "$releaseBase\CQP\app\$pluginName.dll"
WriteCqpJsonFile -targetFilePath "$releaseBase\CQP\app\$pluginName.json"
Copy-Item -Path "$toolBase\NewbeLibs\Platform\Native\Newbe.Mahua.CQP.Native.dll" -Destination "$releaseBase\CQP\app\$cqpPluginDllName.dll"
WriteCqpJsonFile -targetFilePath "$releaseBase\CQP\app\$cqpPluginDllName.json"

Copy-Item "$releaseBase\CQP\$pluginName" "$releaseBase\CQP\$assetDirName\$pluginName" -Recurse
Get-ChildItem "$releaseBase\CQP\$assetDirName\$pluginName" | Get-FileHash | Out-File "$releaseBase\hash.txt"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.