Richard Kuhnt
ecf627c3b8
Allow simple metalink and meta4 hash extraction
2018-08-14 19:00:58 +02:00
Richard Kuhnt
2224da82f8
Allow extraction of nupkg files with 7zip
2018-08-09 19:23:06 +02:00
x-kej
77a2769ace
Catch unzip failures from bad file names (like ../file.exe) ( #2472 )
2018-08-08 20:36:28 +02:00
Mathias Hermansson
cd33a9e31e
Change sf regex not to break some manifests. Fixes #2474 ( #2476 )
2018-08-08 20:34:54 +02:00
Richard Kuhnt
f3ddf0c0f8
Allow $dir, $original_dir and $persist_dir substitutions for shortcuts
2018-08-08 20:13:03 +02:00
Richard Kuhnt
bf54a978a1
Add option to indent debug output
2018-08-08 11:48:58 +02:00
Richard Kuhnt
55ce0c0b0c
Check if 7zip installed via Scoop instead of using 7z.exe from PATH
2018-08-08 11:06:35 +02:00
Richard Kuhnt
0f4640168d
Refactor aria2_path() to file_path()
2018-08-08 11:06:20 +02:00
Richard Kuhnt
6251b91e8f
Fix aria2c command for path with spaces
2018-08-08 10:56:38 +02:00
Richard Kuhnt
ab5ef333fd
Remove double hash check (bug introduced with aria2 feature)
2018-08-07 22:47:00 +02:00
Richard Kuhnt
ff1d7972ed
Add aria2_enabled function
2018-08-07 20:11:38 +02:00
Richard Kuhnt
70ba901ce7
Add sourceforge fix
2018-08-07 20:11:38 +02:00
Richard Kuhnt
f181ab291b
Move referer and dir option to input file
2018-08-07 20:11:38 +02:00
Richard Kuhnt
ad6b9ccd52
Add aria2 proxy support
2018-08-07 20:11:38 +02:00
Richard Kuhnt
a31fa94b87
Add aria2-options config value for custom options
2018-08-07 20:11:38 +02:00
Richard Kuhnt
3183f0052f
Make aria2 settings configurable and ignore aria2.conf
2018-08-07 20:11:38 +02:00
Richard Kuhnt
23ae5e348e
Add default value to get_config()
2018-08-07 20:11:38 +02:00
Richard Kuhnt
7518646d16
Add referer and cookie support
2018-08-07 20:11:38 +02:00
Richard Kuhnt
75aa99370f
Change color for normal output to gray
2018-08-07 20:11:38 +02:00
Richard Kuhnt
aab922dc07
Add aria2 exit code translation
2018-08-07 20:11:38 +02:00
Richard Kuhnt
609c8f4104
Fix download complete detection for different languages
2018-08-07 20:11:38 +02:00
Richard Kuhnt
f901911132
Fix global aria2 detection
2018-08-07 20:11:38 +02:00
Richard Kuhnt
38bdaec440
Use aria2c to support multi-connection downloads
2018-08-07 20:11:38 +02:00
Richard Kuhnt
ba94d2bc2e
Reshape Sourceforge.net URLs to avoid redirections
2018-08-07 20:11:38 +02:00
Richard Kuhnt
b463b15b8d
Add aria2 helper functions
2018-08-07 20:11:38 +02:00
Richard Kuhnt
4d61905125
Add some colors to installation output
2018-08-07 20:11:38 +02:00
Richard Kuhnt
e8af15cc06
Store last update time as String ( fixes #2239 )
...
Prevents problems with PowerShell 5 and 6 using different methods to store dates in JSON
2018-08-07 19:56:43 +02:00
Chawye Hsu
3201c5714d
Support persisting files without a file extension ( #2408 )
2018-08-05 11:15:31 +02:00
Ardelean Călin Petru
f8c0ca7e9a
Removed the bucket from the app name when checking directories. ( #2435 )
...
* Removed the bucket from the app name when checking directories.
* Smarter solution suggested by the review.
2018-07-29 21:45:53 +02:00
Richard Kuhnt
5d56f8ff57
format_hash(): format hashes to lowercase
2018-07-29 21:36:56 +02:00
Richard Kuhnt
88040972a3
Fix null reference error when no buckets are configured ( fixes #2427 )
2018-07-29 13:50:34 +02:00
Brandon Smith
f011f249e1
Normalize multi-line strings to string arrays on format ( #2444 )
2018-07-29 13:24:28 +02:00
Nick Budidharma
c98fc17479
Update strip_filename skips ( #2401 )
...
Portableapps.com has switched to portableapps.duckduckgo.com as their freeware host and skipping strip_filename is no longer required.
Remove downloads subdomain from sourceforge.net to allow mirror redirect urls (e.g. https://sourceforge.net/projects/phppgadmin/files/latest/download ).
2018-07-18 17:30:31 +02:00
Richard Kuhnt
0c2b3da3ff
Don't send referer to portableapps.com
2018-07-16 14:09:39 +02:00
Richard Kuhnt
7a6218c586
Show message about missing bucket when installing dependencies
2018-07-15 17:57:34 +02:00
Richard Kuhnt
4c9beee8f2
Add filename to warning for files without hash in the manifest
2018-07-13 17:11:26 +02:00
Richard Kuhnt
0b13f37bc1
fix a bug introduced with e2792f2e
...
"break" prevented the extraction of multiple archive files
2018-07-10 21:31:46 +02:00
Richard Kuhnt
360c789965
Fix robocopy parameters (introduced with e2792f2e solving #2305 )
2018-07-09 21:03:31 +02:00
Richard Kuhnt
e4cbb42e64
Show first 8 bytes of file in the hash check error message
2018-07-09 13:14:38 +02:00
Richard Kuhnt
e2792f2e02
Fix robocopy not releasing a directory after moving it ( closes #2305 )
...
- Use System.Diagnostics.Process for better control
- Wait up to 1 second after moving a directory, so robocopy can terminate its threads
2018-07-09 12:34:00 +02:00
Ross Smith II
5e8a0feb6e
Change multiline strings to arrays ( #2363 )
2018-07-07 23:16:09 +02:00
Richard Kuhnt
8504338bc5
Show warning about SourceForge.net hash validation fails
2018-06-28 19:00:35 +02:00
shorez
d478a26ad0
Add basic WSL support by appending .exe to powershell ( #2323 )
2018-06-21 14:00:14 -07:00
Richard Kuhnt
e8eaa3009a
Fix installing manifest from UNC path ( closes #2296 )
2018-06-18 12:34:38 +02:00
Richard Kuhnt
b29213d542
Fix "No hash in manifest." bug introduced in f8f9b75f
2018-06-14 18:37:23 +02:00
Richard Kuhnt
f8f9b75f05
Option to skip hash validation and error message improvements ( #2260 )
...
* Add show_app() function for displaying `app/bucket@version`
* Add option to skip hash check on install/update
Allows users to install an app when the manifest provides an outdated hash
* Show filename instead of robocopy output when moving fails
* Add new_issue_msg() for nicer error messages (with link bucket repo)
- returns a message with a link to the buckets GitHub repository
- clicking on the link opens a new issues with a predefined title
* Use new_issue_msg() for errors while moving files
- this removes the unreadable robocopy error dumps
* Use new_issue_msg() error handling for check_hash()
* Show robocopy exit code
2018-06-14 18:30:05 +02:00
Richard Kuhnt
ff9c0c3daf
parse_app(): fix for relative paths
2018-05-07 14:18:40 +02:00
Ross Smith II
0391a5df49
Fix #2243
2018-05-05 08:36:48 -07:00
Richard Kuhnt
70f64c8f4b
Refactor app() to parse_app() for better "bucket/app@version" handling ( #2234 )
...
It now parses these app names:
- php-bucket/php71-amqp@1.8.0
- php-bucket/php71-amqp
- php71-amqp@1.8.0
- php71-amqp@1.9.0-rc2
Removed:
- is_app_with_specific_version()
- get_app_with_version()
2018-05-04 21:51:43 +02:00
Ross Smith II
0e2c253f38
Warn on shim overwrite ( #2033 )
2018-05-04 20:02:16 +02:00