QuickWho

Check-in [ec447b616e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix error in softwareupdate package
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ec447b616e6b4e79a16b088a2d1b214c3c0f6b64
User & Date: kevin 2018-04-26 03:12:43
Context
2018-04-27
12:17
Change build parameters on macOS check-in: 162b239e51 user: kevin tags: trunk
2018-04-26
03:12
Fix error in softwareupdate package check-in: ec447b616e user: kevin tags: trunk
2018-04-24
02:38
Fix typos in license check-in: 41a3123a7e user: kevin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to buildapp.

   147    147   
   148    148   hdiutil create  -srcfolder dist -fs HFS+ -volname QuickWho QuickWho.dmg
   149    149   
   150    150   codesign  --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2  QuickWho.dmg
   151    151   
   152    152   echo "Uploading DMG..."
   153    153   
   154         -#upload QuickWho.dmg updates
          154  +upload QuickWho.dmg updates
   155    155   
   156         -#upload quickwho-changes.tcl
          156  +upload quickwho-changes.tcl
   157    157   
   158         -#upload quickwho-version.tcl
          158  +upload quickwho-version.tcl
   159    159   
   160    160   
   161    161   cd ../
   162    162   
   163    163   #create archive of entire source tree
   164    164   tar cvfz QuickWho-$1.tgz QuickWho
   165    165   
   166    166   echo "Done."

Changes to scriptlibs/softwareupdate/softwareupdate.tcl.

   272    272   
   273    273   	softwareupdate::progressDialog
   274    274   	set status "Downloading update for $appname"
   275    275   	
   276    276   	switch [tk windowingsystem] {
   277    277   
   278    278   	    "aqua" {
   279         -		http::geturl https://www.codebykevin.com/updates/[list $appname].dmg -channel [open $tmpdir/[list $appname].dmg w] 
          279  +		update
          280  +		after 1000
          281  +		#http package causes file corruption of the DMG for some reason
          282  +		exec curl -s https://www.codebykevin.com/updates/[list $appname].dmg -o  $tmpdir/[list $appname].dmg
   280    283   		update
   281    284   		after 1000
   282    285   		cd $tmpdir
   283    286   		set status "Attaching [list $appname].dmg"
   284    287   		update
   285    288   		exec hdiutil attach [list $appname].dmg
   286    289   	    }
   287    290   	    
   288    291   	    "win32" {
   289    292   		
   290         -		http::geturl https://www.codebykevin.com/updates/[list $appname]_Setup.exe -channel [open $tmpdir/[list $appname]_Setup.exe w]
          293  +		http::geturl https://www.codebykevin.com/updates/[list $appname]_Setup.exe -binary 1 -channel [open $tmpdir/[list $appname]_Setup.exe wb]
   291    294   
   292    295   	    }
   293    296   	    
   294    297   	    "x11" {
   295    298   		tk_messageBox -icon info -parent . -message "Please ask the maintainer of $appname on your platform to prepare a release of the latest version."
   296    299   		return
   297    300   	    }