Commit Graph
278 Commits
Author SHA1 Message Date
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
Luke Sampson 7959c1cfe2 Revert "Added support for custom commands" 2015-03-26 18:33:09 +10:00
Simon Hartcher e6e4b7492f Added support for custom commands
Custom commands `scoop-*` that are in the `$env:scoop\shims` directory
can now be run using scoop as well as the built-in commands
2015-03-26 18:24:28 +11:00
Luke Sampson 7a243c72f6 fix mkdir function 2015-03-11 13:18:15 +10:00
Simon Hartcher 2581bd8c53 Add missing commands to alias 2015-03-11 13:55:40 +11:00
Simon Hartcher afa8166e81 Added functions as aliases for powershell commands
Fixes #183
2015-03-11 13:52:30 +11:00
Luke Sampson b806cbd412 don't fail a global install when dependencies are installed locally (fixes #216) 2014-11-18 06:55:44 +07:00
Luke Sampson d9a1d0041c a few small cookie clean-ups 2014-11-12 06:16:10 +10:00
Scott Moore 0af8ebff5b Support HTTP cookies 2014-11-11 22:59:02 +11:00
Luke Sampson cb2ff446e6 fixes #189: check for failed installs of dependencies and give a more useful error message if that's the case 2014-11-03 09:33:43 +10:00
Kody Brown 89dcbefbc5 Renamed pre_create_shims to pre_install. Much better. 2014-08-14 22:21:14 -06:00
Kody Brown 7d62d005da Added a new event 'before_create_shims'.. the json file uses 'before_shims', but I spelled it out in the ps code. Don't really like the name of either, but I needed the functionality for gow.json (incoming). 2014-08-14 20:20:36 -06:00
Luke Sampson 0ee6b97abb Let 7-zip extract .xz files too 2014-07-25 11:36:59 +10:00
Luke Sampson b68c737cf4 fix for #129 2014-07-17 09:06:43 +10:00
Luke Sampson 2a3427bdd7 fix for install where username contains spaces (see #128) 2014-07-16 10:56:37 +10:00
Luke Sampson 26195a626d experimenting with possible solution for #126 where packages aren't accessible after updating an app 2014-07-15 13:44:44 +10:00
Luke Sampson df1567c778 workarounds for windows not handling 'long' (260 char) paths (see #127) 2014-07-10 02:38:42 +10:00
Luke Sampson b70a107d45 handle int/string mismatch when comparing versions 2014-06-23 09:27:43 +10:00