Luke Sampson
47efb70180
fix build
2016-04-16 12:06:39 +10:00
Luke Sampson
fff82e2d72
add architecture-specific support for pre- and post-install (see #783 )
2016-04-16 11:58:59 +10:00
Luke Sampson
2d76838742
Revert "Bringing back download progress"
2016-04-13 16:54:04 +10:00
Luke Sampson
94b7258e2b
carry on if there is a problem deleting extracted files ( fixes #773 )
2016-04-09 16:49:47 +10:00
Partho P. Das
e2a5c6fd56
Bringing back download progress
2016-04-08 10:25:03 +10:00
Marcus Griep
558e7bc1e7
Remove shortcuts from Scoop Apps on uninstall
2016-03-28 22:18:20 -04:00
Luke Sampson
670f4ca273
Merge pull request #754 from MPLew-is/master
...
Make installers/uninstallers more flexible
2016-03-27 18:43:19 +10:00
MPLew-is
239d6f78aa
Remove trailing whitespace
2016-03-27 04:41:57 -04:00
Luke Sampson
f93ad11c50
re-insert newline
2016-03-27 18:39:32 +10:00
MPLew-is
c4bafade1e
Change if/else block to adding parameters dynamically when needed
2016-03-27 04:32:23 -04:00
Luke Sampson
ff8343303e
remove trailing whitespace
2016-03-27 18:26:20 +10:00
Luke Sampson
8516cb6bb5
fix for installing from URL
2016-03-27 18:06:37 +10:00
MPLew-is
f88a7c9847
Fix incorrect installer variable name
2016-03-27 03:35:43 -04:00
MPLew-is
73c7b32f10
Remove whitespace on separator lines
...
Lines that only contain spaces cause tests to fail
2016-03-27 02:35:58 -04:00
MPLew-is
ee57da6451
Add support for keeping installers after installation
2016-03-27 02:26:24 -04:00
MPLew-is
400284a2d6
Add support for installers without arguments
2016-03-27 01:56:47 -04:00
Luke Sampson
945ed44b2f
simplified download to prevent crashes in win10 ( fixes #721 )
2016-03-16 15:41:00 +10:00
Luke Sampson
96a61f1248
Merge pull request #679 from damnhandy/startmenu_icon
...
Startmenu Shortcut Support
2016-02-08 13:02:32 +10:00
Ryan J. McDonough
a71449d7ed
Fixed code style issues, added folder grouping for Scoop installed apps
2016-02-07 21:51:35 -05:00
Luke Sampson
e57a783b82
don't try to re-alias allscoped aliases
2016-02-08 09:30:30 +10:00
Ryan J. McDonough
a7ba516194
Removed debug code
2016-02-07 09:44:38 -05:00
Ryan J. McDonough
280e4ecd81
Adding support for Start Menu shortcuts
2016-02-07 09:40:37 -05:00
Ryan J. McDonough
1eaaa817ea
Changed $scoopdir to use $env:LOCALAPPDATA from ~\appdata\local
2016-01-31 17:03:05 -05:00
Simon Hartcher
3bcdce409b
Support for scoop install <bucket>/<app>
...
- TODO: support install of same name apps from different buckets?
2016-01-24 22:35:43 +11:00
Simon Hartcher
bea3189583
Add ability to search known buckets that haven't been added locally
...
By using githubs api we can search known buckets that haven't been added
to the local scoop instance. When a local search doesn't return any
results, other known buckets will be searched via github. If the rate
limit has been reached (60 per hour as of impl) the search won't occur.
2016-01-24 17:57:06 +11:00
Simon Hartcher
98921256e6
Refactor lessmsi code. Add lessmsi support to depends
2016-01-21 23:16:30 +11:00
Simon Hartcher
190d37c840
Add MSIEXTRACT_USE_LESSMSI configuration option
...
When it is set to $true, lessmsi will be used over msiexec
2016-01-21 00:45:50 +11:00
Simon Hartcher
570fc0a4fd
Change msi extract to use lessmsi
2016-01-21 00:45:50 +11:00
Roy Ivy III
5d097a7c78
Merge branch 'upstream' into dev-whitespace
...
Conflicts:
bucket/apache.json
bucket/cmake.json
bucket/curl.json
bucket/git.json
bucket/openssl.json
bucket/php54.json
bucket/php55.json
bucket/sliksvn.json
lib/core.ps1
2015-08-25 22:27:55 -05:00
Roy Ivy III
1fbcd53f2d
Remove now-erroneous comment
2015-08-20 13:44:58 -05:00
Roy Ivy III
2f367eff9d
Merge branch 'upstream' into fix-shim-encoding
...
Conflicts:
lib/core.ps1
2015-08-20 13:39:27 -05:00
Roy Ivy III
6d9bca805f
whitespace cleanup
...
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Simon Hartcher
e01faae68b
Make shim paths relative
2015-07-27 17:49:33 +10:00
Roy Ivy III
3b5887e0f9
Change encoding of generated shim files to ASCII
...
* change file encoding of the basic shim to be in a normal ASCII character set
.# DISCUSSION
Within PowerShell, `echo STRING > FILE` generates a file encoded in UCS-2-BOM format
(or "Unicode", in PowerShell terminology). UCS-2 later morphed into the similar
UTF-16 encoding format, and, within PowerShell, is treated as a "fuzzy equivalent"
encoding. Problematically, these UCS-2 files are misinterpreted by CMD, which expects
files using the ASCII (or "extended-ASCII") character encoding. And, in general, the
UCS-2 format has many drawbacks when interpreted outside of a narrow PowerShell
window. So, in general, it's best to stick to pure ASCII (or UTF-8, *without BOM*)
encoded files, if at all possible.
NOTE: ASCII (not "extended-ASCII") and UTF-8 (non-BOM) encoded files are exactly equivalent.
NOTE: "Extended-ASCII" is poorly defined, requiring an associated Windows Code Page designation to firmly establish the encoding.
ref: [Unicode UTF and BOM] http://www.unicode.org/faq/utf_bom.html @@ https://archive.is/TKnyk
ref: [Unicode and NET] http://csharpindepth.com/Articles/General/Unicode.aspx @@ https://archive.is/czs89
2015-07-24 21:33:24 -05:00
Simon Hartcher
bf4e92588c
Sanitise path when returning manifest path
...
Fixes #386
2015-07-24 14:04:38 +10:00
Simon Hartcher
8a0e8b8bc0
Fix error when passing regex keywords to getopt #386
2015-07-24 13:38:27 +10:00
Luke Sampson
cf1c2b1866
allow '@' and ':' in proxy password using '\' to escape
2015-06-17 21:44:50 +10:00
Simon Hartcher
53a3224b3a
Add --quiet opt to update command to suppress extraneous messages
2015-06-04 12:44:28 +10:00
Simon Hartcher
3578a65454
Merge pull request #380 from lukesampson/scoop-alias
...
Add scoop-alias command
2015-06-01 10:31:01 +10:00
Simon Hartcher
9e7bb98399
Add scoop-alias command
...
Fixes #377
2015-05-31 16:47:30 +10:00
Simon Hartcher
1a2db05366
Fix #376 Robocopy is not always in PATH
...
Add ensure_robocopy_in_path method to core.ps1 which checks if
robocopy is available, then shims it if not.
2015-05-30 17:53:41 +10:00
Luke Sampson
561c773672
override all leaked aliases, not just those from global scope
2015-05-12 20:36:45 +10:00
Luke Sampson
bc1a8e4945
brute force fix for powershell alias problems
2015-05-11 20:17:59 +10:00
Simon Hartcher
49bd9b637d
Add tests for shim
...
Refactored rm_shims into two functions rm_shims and rm_shim
Added tests for shim and rm_shim
Added test for quote in username (#196 )
2015-04-12 21:15:50 +10:00
Luke Sampson
083cdd9743
handle version change from string to numeric ( fixes #322 )
2015-04-05 14:54:25 +10:00
Simon Hartcher
2c31213431
Added simplistic nightly support
...
When an app versioned as "nightly" is installed (or updated),
the current date is appended to the version which changes the
version directory to nightly-yyyymmdd.
Fixes #181
2015-03-30 23:32:08 +11:00
Simon Hartcher
ed81937b1a
Bugfixes
...
Fixed failure to overwrite cached file
Fixed no cache warning every update
2015-03-28 17:52:54 +11:00
Simon Hartcher
cecb04542c
Added --no-cache option to scoop update
...
Ignores cache when updating an app
2015-03-28 17:45:10 +11:00
Simon Hartcher
47b85e62fe
Merge branch 'master' into custom-commands
...
Conflicts:
lib/commands.ps1
2015-03-26 21:54:05 +11:00
Simon Hartcher
53a6c680aa
Changed $env:scoop to $scoopdir for when $env:scoop is null
2015-03-26 21:47:28 +11:00