Luke Sampson
1cba11e625
Show remote filename in messages when a downloaded file is being coerced to a new filename
2017-02-24 11:11:01 +11:00
Luke Sampson
02863d3a30
Possible temporary fix for #1334 , disable download progress if content length has not been set (-1)
2017-02-14 13:56:46 +11:00
Luke Sampson
b77e5c49f4
UI message formatting.
2017-02-14 13:47:48 +11:00
Luke Sampson
e8e5ac5615
Update more UI messages for consistency.
2017-02-13 20:53:36 +11:00
Luke Sampson
1dc4d87626
Wrap 'app' in quotes for consistency.
2017-02-13 20:36:29 +11:00
Luke Sampson
d2a8f6798f
Update UI messages for consistency.
2017-02-13 20:25:56 +11:00
Luke Sampson
1c173bc56d
Use sentence case for UI messages.
2017-02-13 20:20:41 +11:00
Luke Sampson
b21b6a2be1
Add 'suggest' directive as an alternative to 'depends'. Allows manifest authors to suggest apps with complementary features, without installing them automatically ( fixes #1263 )
2017-02-12 16:37:02 +11:00
Simon Hartcher
9cd2b1a293
Avoid calculating filename twice in dl_urls
2017-02-11 18:51:26 +11:00
Simon Hartcher
83a4f33c22
Download first, then check hash and extract
2017-02-11 18:45:34 +11:00
Simon Hartcher
48492f9c19
Replace url_filename with better implementation
2017-02-11 18:28:52 +11:00
Simon Hartcher
c148f543b2
Remove unused return value. Refactor url_filename into method
2017-02-11 18:20:45 +11:00
Simon Hartcher
f62dacef0b
Fix: Progress bar no longer jumps when hitting 100%
2017-02-11 18:09:28 +11:00
Simon Hartcher
798e07a053
Add comments and fix a few bugs
2017-02-11 18:04:49 +11:00
Simon Hartcher
7f06bd6b38
Remove $url from dl_onProgress callback arguments
2017-02-11 17:40:05 +11:00
Simon Hartcher
75e8b630a5
Nicer progress bar
2017-02-11 17:35:37 +11:00
Simon Hartcher
20c23b45e6
Remove -nonewline from simple output
2017-02-11 16:26:27 +11:00
Simon Hartcher
3bc4782cd1
Add better progress output control by passing url
2017-02-11 16:21:42 +11:00
Simon Hartcher
eacd2778d0
Make progress stateless
2017-02-11 16:16:20 +11:00
Simon Hartcher
93916d618e
Remove smelly reference to $wres in dl_progress
2017-02-11 15:23:21 +11:00
Simon Hartcher
b5788250d1
Remove old comment
2017-02-11 15:20:54 +11:00
Simon Hartcher
87c6756d3c
Refactor dl functions
...
In the future I want to be able to have different download providers
(aria2c for example) so I'm trying to decouple progress display a bit.
- Removed dl_simple
- Refactored dl_progress; Renamed to dl
- Added dl_progress function
2017-02-11 15:14:53 +11:00
Simon Hartcher
1d6c524629
Reduce dl_progress nesting to make more readable
2017-02-11 14:19:04 +11:00
Luke Sampson
211249238e
handle downloading a zip containing a zip of the same name (see #1276 )
2017-01-30 08:01:05 +11:00
Luke Sampson
2339036e6f
fix prune_uninstalled
2017-01-24 18:23:44 +11:00
Luke Sampson
33e6fbb30c
fix prune_uninstalled not populating array correctly
2017-01-24 18:19:30 +11:00
Luke Sampson
79def7adad
continue installing remaining apps when some requested apps are already installed (see #1256 )
2017-01-24 18:10:35 +11:00
Luke Sampson
d15bb91cb7
Add support for installing PowerShell modules (see #1246 )
2017-01-22 14:44:54 +11:00
Luke Sampson
f731c1b1b3
Use any available SSL/TLS protocol for HTTPS downloads (see #1214 )
2017-01-16 20:25:44 +11:00
Luke Sampson
a14ffdb588
allow disabling 'current' version directory with NO_JUNCTIONS config setting (see #1202 )
2017-01-10 08:47:08 +11:00
Luke Sampson
8b1871b20d
fix: uninstall fails to remove architecture-specific shims ( fixes #1191 )
2017-01-04 17:42:32 +11:00
Luke Sampson
56654fb3ac
Remove USE_JUNCTIONS config setting and always use 'current' directory junction to link to the currently installed version (see #1179 )
2017-01-03 09:11:48 +11:00
Rémy
5170cb9185
add support for sha512 hashes / autoupdate custom hash type support
2017-01-01 13:17:55 +01:00
Luke Sampson
abd6d0e6c5
Use a 'current' directory junction for the current version of apps, so that path is maintained across app updates (see #1179 )
2016-12-31 22:12:53 +11:00
Rémy
976d358c87
autoupdate single url/hash support / update extract_dir / hashing by download
2016-12-11 13:34:01 +01:00
Luke Sampson
25676b79cf
reduce console flicker during downloads by only updating download progress % when it has changed
2016-09-21 09:47:59 +10:00
Luke Sampson
ef7bcce6f7
move shortcut functions to separate file
2016-09-21 09:41:01 +10:00
Luke Sampson
b583c996e2
fix appveyor error
2016-08-20 11:30:56 +10:00
Luke Sampson
f435fa35be
allow .ps1 uninstaller
2016-08-20 11:27:45 +10:00
Luke Sampson
31d0f98f5f
fix architecture-specific shims (see #950 )
2016-07-08 07:04:26 +10:00
Luke Sampson
47ca4de713
fix download progress % runs over line and scrolls terminal
2016-07-05 11:58:48 +10:00
Luke Sampson
0bcb44a281
implement architecture-specific shims
2016-06-24 07:22:04 +10:00
Luke Sampson
ed6a2ec371
fix for cookies ( fixes #906 )
2016-06-16 14:42:57 +10:00
Luke Sampson
5ac3f09734
allow local and network file paths for 'url' ( fixes #444 )
2016-06-03 19:39:46 +10:00
Luke Sampson
2a602ef4d1
add @Cyianor's fix for download URLs containing ? ( fixes #603 )
2016-06-03 17:43:17 +10:00
Luke Sampson
a04b69451a
don't set %HOME% in shims any more. env_ensure_home is provided in case apps do actually require this functionality (see #687 )
2016-06-03 16:47:20 +10:00
Luke Sampson
3e17a60bb0
reinstate download progress % indicator, along with new filesize display
2016-06-01 21:22:11 +10:00
Luke Sampson
8ccf3f7f25
Handle exception during file download ( fixes #878 )
2016-06-01 18:31:54 +10:00
Luke Sampson
6e921e9b2f
allow .exe installers to access $global variable (see #854 )
2016-05-18 12:36:36 +10:00
Luke Sampson
47efb70180
fix build
2016-04-16 12:06:39 +10:00