Commit Graph
129 Commits
Author SHA1 Message Date
AJ ONeal c4de76b5af fix(sh): use strict mode for install example 2022-08-24 05:16:43 +00:00
AJ ONeal 76fc3bfefa refactor(posix): remove cd output redirects - it has no output 2022-08-24 05:16:43 +00:00
AJ ONeal 184487e228 lint(_webi): redirect output properly the script embedded in bootstrap.sh (fix SC2069) 2022-08-24 05:08:31 +00:00
AJ ONeal e2218a0683 lint(_webi): quote vars in the script embedded in bootstrap.sh (fix SC2046) 2022-08-24 05:07:56 +00:00
Rishav NandiandAJ ONeal 0dbe056e5b refactor(_webi): refactor to make sure printf format strings don't use variables 2022-08-24 04:53:23 +00:00
Shyam MahajanandAJ ONeal 9c38a0124c lint(sh): removed redundant [ around if blocks (fix #500, SC2143) 2022-08-24 04:46:12 +00:00
AJ ONeal 22310ec528 doc(posix): remove unnecessary references to bash 2022-08-21 07:52:30 +00:00
AJ ONeal b12b06eedd refactor(posix): don't run scripts with bash unnecessarily 2022-08-21 07:30:55 +00:00
AJ ONeal d2fdc7b41a refactor!(posix): use posix shebang #!/bin/sh (fix #494) 2022-08-21 07:10:33 +00:00
AJ ONeal 5053d7064f fix(posix): use subshell on cd entry, nix trailing cd 2022-08-21 06:51:02 +00:00
Tarek ArarandAJ ONeal be05abb043 refactor!(posix) replace pushd with cd 2022-08-21 06:51:01 +00:00
AJ ONeal fbcef3e583 refactor(posix): replace echo bashisms with printf (fixes #479, SC3037) 2022-08-21 06:49:34 +00:00
AJ ONeal 0a8675427c refactor!(posix): translate complex [[ bashisms (shellcheck SC3014) 2022-08-21 04:57:46 +00:00
AJ ONeal 0d611cb246 fix(posix): double quote vars that require it 2022-08-21 04:23:04 +00:00
AJ ONeal a87e38b3e5 fix(posix): double quote vars that require it 2022-08-21 03:46:19 +00:00
AJ ONeal 8ccaf95611 fix:(posix) revert complex uses of [[ (bashisms) 2022-08-21 03:46:19 +00:00
Marcin WoźniakandAJ ONeal 48a16a315e refactor!(posix): replace simple [[ with [ (partial fix for #465) 2022-08-21 03:06:08 +00:00
AJ ONeal d65eb457f9 refactor(posix): replace '==' with '=' (shellcheck SC3014) 2022-08-21 02:08:39 +00:00
brijandAJ ONeal fdeefd7e75 refactor(posix): remove function prefixes from all shell files 2022-08-18 15:10:58 +00:00
AJ ONeal 4895d5d690 fix: make 'pkg@' just 'pkg' when missing version 2022-08-13 03:52:05 +00:00
dbbrowneandAJ ONeal 509e957842 doc+feat(webi): update PATH instructions, fix typos 2022-08-08 11:36:35 +00:00
AJ ONeal 0cbdcc9387 feat: move more templating code to public repo 2022-06-01 17:15:54 +00:00
AJ ONeal 7a06af314c fix(pwsh): always create webi Downloads directory 2022-03-08 05:40:04 +00:00
AJ ONeal 38a3640bd1 feat(webi): update help and version commands (bash & powershell) 2022-03-07 09:42:40 +00:00
jojobyteandAJ ONeal 14b8b8701a feat(webi): add help command to powershell 2022-03-07 09:42:57 +00:00
jojobyteandAJ ONeal dd206a00a7 feat(webi): add help command usage for bash 2022-03-07 09:42:40 +00:00
Stef DunlapandAJ ONeal 6b21cc7245 fix(pwsh): use Env:HOME in bootstrap.ps1 to run from any directory
This fixes bug whereby one could only run webi from the home directory because it created the `.local\bin` in whatever directory it was run.
2022-03-07 07:55:01 +00:00
AJ ONeal a50d690197 chore: run linters and formatters 2022-01-26 02:00:21 -07:00
AJ ONeal bd0867f478 docs(win): update elevated privileges error message 2022-01-26 07:59:58 +00:00
Jay PalacioandAJ ONeal 180758d50b fix(webi): add check for windows pwsh being run as admin 2022-01-26 07:46:33 +00:00
AJ ONeal 88fcdf968a fix(webi): all $s should be escaped with $$$$ 2021-12-05 07:59:38 +00:00
AJ ONeal 62fbb37acf docs(internal): comments about downloads 2021-12-05 05:01:36 +00:00
AJ ONeal 6053316180 bugfix: update arh waterfall to properly detect armv7 vs arm64 2021-11-24 06:59:25 +00:00
AJ ONeal ef1b4f03c8 feature(linux): prefer musl builds to gnu builds 2021-11-24 06:58:52 +00:00
AJ ONeal a05e632457 chore(lint): == to === 2021-11-24 06:57:33 +00:00
AJ ONeal d68d0376b9 feature(windows): make it more clear that the user needs to update their PATH 2021-11-23 09:07:46 +00:00
Marcin WoźniakandAJ ONeal ca7a838c6f chore(style): convert blocks into functions (see #325) 2021-11-21 10:50:03 +00:00
AJ ONeal 2d68b08174 refactor(webi): finally remove use of pkg_get_current_version 2021-11-15 11:35:31 +00:00
AJ ONeal 2f67e12800 refactor: scope downloads to thing/version/thing-version.tar.gz 2021-11-15 11:28:53 +00:00
AJ ONeal 426e8c9c2e refactor!: namespace downloads to ~/Downloads/webi on Mac and Linux 2021-11-15 11:28:53 +00:00
AJ ONeal d70f58eb23 bugfix(webi): printf rather than echo -e for colors for certain shells 2021-11-14 20:56:28 +00:00
AJ ONeal d90018d3c2 feature: spam for stars plzkthx 2021-11-14 10:31:22 +00:00
AJ ONeal 5394796d1a feature: add gpg (GnuPG) 2021-11-14 08:18:32 +00:00
AJ ONeal dfb477380c chore: make Prettier + fix spelling, update upgrade/switch instructions, prefer ale to syntastic 2021-08-15 05:56:56 +00:00
AJ ONeal d3dbc1bf2a fix typo PKG_NAME => WEBI_PKG
Fix for https://github.com/webinstall/webi-installers/issues/236
2021-05-11 14:58:02 -04:00
AJ ONeal b8963e2eec bugfix: invert download check 2021-05-02 18:39:57 +00:00
AJ ONeal 40e4c9325e welcome earlier, fix lint warnings and real errors 2021-05-02 18:26:30 +00:00
AJ ONeal 170a124b0e bugfix: allow whitespace before template vars 2021-04-26 07:20:10 +00:00
AJ ONeal 3f64f8b9c5 cleanup: */install.ps1 add out-null to all New-Item calls 2021-04-26 07:10:08 +00:00
AJ ONeal 46445e9382 cleanup: shfmt, shellcheck, and whitespace 2021-04-26 07:03:47 +00:00