Skip to content

Commit

Permalink
NAppUpdate now checks the correct directory for permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomlopes committed Aug 11, 2011
1 parent 292c256 commit f29ae4a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#ignore thumbnails created by windows
Thumbs.db
#Ignore files build by Visual Studio
*.obj
*.exe
*.pdb
src/*/*.obj
src/*/*.exe
src/*/*.pdb
*.user
*.aps
*.pch
Expand All @@ -19,11 +19,11 @@ Thumbs.db
*.cache
*.ilk
*.log
[Bb]in
[Dd]ebug*/
src/*/[Bb]in
src/*/[Dd]ebug*/
*.lib
*.sbr
obj/
src/*/obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
Expand Down
11 changes: 8 additions & 3 deletions default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Task Build-Package -depends Update-Solution-Assembly-Info -description "Builds a
Remove-Item $outputDir -recurse -force
}
$packageDir = $package_path
$appcast_path = "$packageDir\appcast.xml"

Exec { msbuild /t:clean /p:Configuration=Release /p:OutDir=$outputDir\ }
Exec { msbuild /t:build /p:Configuration=Release /p:OutDir=$outputDir\ }
Expand All @@ -48,7 +47,8 @@ Task Build-Package -depends Update-Solution-Assembly-Info -description "Builds a
$zip = Write-Zip .\* $package_path -level 9
Pop-Location
Write-Host "File is up at $zip"


$appcast_path = "$packageDir\appcast.xml"
Generate-Appcast-Item `
-version $version `
-package_url $dropbox_base_url `
Expand Down Expand Up @@ -181,7 +181,12 @@ function Get-Next-Version

$last_versions = $last_version_tag.split("_")[1].split(".") | foreach { [int]$_}
if ($description.Length -eq 3) {
$last_versions[$version_index_to_increase]++
$last_versions[$version_index_to_increase] += 1
$i = $version_index_to_increase+1
while($i -lt 4){
$last_versions[$i] = 0
$i += 1
}
}

return [string]::join(".", $last_versions)
Expand Down
Binary file modified lib/nappupdate/NAppUpdate.Framework.dll
Binary file not shown.
Binary file added lib/nappupdate/NAppUpdate.Framework.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/nappupdate/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
64fec695ceb6b7f3e6cc4c7af36c7a95132cbd52
d2271a684ded08d1ae2bb1e44b397866c679b28f

0 comments on commit f29ae4a

Please sign in to comment.