Luke Sampson
e8e5ac5615
Update more UI messages for consistency.
2017-02-13 20:53:36 +11:00
Luke Sampson
1c173bc56d
Use sentence case for UI messages.
2017-02-13 20:20:41 +11:00
Luke Sampson
dd5dbfdb5c
reset gm => get-member alias ( fixes #1222 )
2017-01-18 09:15:37 +11:00
Luke Sampson
fc54b2fd58
switch from ~/appdata/local/scoop to ~/scoop for new installation
2016-11-01 11:57:52 +11:00
Luke Sampson
01f1b05f3f
fix .cmd shims should be ASCII ( #896 )
2016-06-08 07:27:42 +10:00
Luke Sampson
c95b8431f6
fix #889
2016-06-03 23:28:02 +10:00
Luke Sampson
cd8fc02075
potential fix for 'scoop which' running under LocalSystem account (see #889 )
2016-06-03 19:17:14 +10:00
Luke Sampson
291f6caf80
restore @deevus's relative paths ( fixes #443 )
2016-06-03 19:13:06 +10:00
Luke Sampson
68da60c2c9
use UTF8 encoding for shims for better handling of usernames containing special characters ( fixes #572 )
2016-06-03 18:00:40 +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
f93ad11c50
re-insert newline
2016-03-27 18:39:32 +10: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
Luke Sampson
e57a783b82
don't try to re-alias allscoped aliases
2016-02-08 09:30:30 +10: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
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
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
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
2a3427bdd7
fix for install where username contains spaces (see #128 )
2014-07-16 10:56:37 +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
bf02a335d9
Use Scoop/1.0 user agent for downloads
2014-05-26 09:38:14 +10:00
Luke Sampson
655e346999
experimental path override for #52
2014-03-25 12:28:37 +10:00
Luke Sampson
69c11d449a
Revert "updated for new color naming in concfg (see lukesampson/concfg#3"
...
This reverts commit d4ff02bbef .
2014-03-17 18:08:33 +10:00
Luke Sampson
d4ff02bbef
updated for new color naming in concfg (see lukesampson/concfg#3
2014-03-17 15:58:49 +10:00
Luke Sampson
31410a12ba
fix for unzip when .NET version pre 4.5: ensure output directory exists first (issue #80 )
2014-03-16 10:05:11 +10:00
Luke Sampson
619a7a1b05
cache show: handle 1 file
2014-03-03 17:52:55 +10:00
Luke Sampson
5e0b74630e
improved comment
2014-02-21 19:57:38 +10:00
Luke Sampson
ac2716eacb
tidy-up
2014-02-21 19:57:02 +10:00
Luke Sampson
307ec93568
remove test
2014-02-21 19:47:26 +10:00
Luke Sampson
14625e0087
unzip: fall back to shell COM object if .NET earlier than 4.5 ( #66 )
2014-02-21 19:46:36 +10:00
Luke Sampson
e06fdf784f
abort if unzip fails
2014-01-17 08:51:15 +10:00
Luke Sampson
3b90306472
allow alias and arguments for shims
2014-01-12 15:46:59 +10:00
Luke Sampson
5c52166fcd
add .exe shims for programs that only look for .exes (e.g. tar calling gzip)
2014-01-05 16:25:16 +10:00
Luke Sampson
753c933ee2
for cmd shims, resolve path because cmd can't interpret ~
2014-01-02 14:20:33 +10:00
Luke Sampson
7909e692b6
scoop update: auto-install missing dependencies
2014-01-01 08:40:37 +10:00
Luke Sampson
634464e3de
simpler, faster unzip (5x speedup, see #35 )
2013-12-02 12:33:40 +10:00
Luke Sampson
a572724710
fix typo that caused paths not to be removed on uninstall
2013-11-12 09:21:23 +10:00