Joran Dirk Greef
19aa13dcda
9.1.0
2019-11-13 20:44:23 +02:00
Joran Dirk Greef
3d6f25b4f9
Merge pull request #115 from bpasero/types
...
Add TypeScript types file
2019-11-13 08:50:55 +02:00
Benjamin Pasero
e6044763f1
add types
2019-11-07 16:36:16 +01:00
Joran Dirk Greef
3bfa62163b
9.0.0
2019-06-03 18:07:12 +02:00
Joran Dirk Greef
fa24c26786
Update CHANGELOG.md
2019-06-03 18:07:05 +02:00
Joran Dirk Greef
0467974daa
Update Linux screenshot
2019-06-03 17:37:05 +02:00
Joran Dirk Greef
43e5b9708f
Link to screenshots on GitHub
2019-06-03 17:36:51 +02:00
Joran Dirk Greef
1281c81bfd
Document cwd and options.env in README
2019-06-03 17:24:20 +02:00
Joran Dirk Greef
0b87f36714
Make cross-platform stdout, stderr behavior consistent
...
Return stdout and stderr whenever these are available to assist with
debugging.
Specify 'utf-8' encoding to child_process.exec() as an explicit option
in case Node changes the default in future, and because we sometimes
return stdout and stderr via readFile(), which has a different default.
Fixes : #89
2019-06-03 17:12:19 +02:00
Joran Dirk Greef
71aced589a
Fix Linux elevation magic marker comparison
2019-06-03 17:11:58 +02:00
Joran Dirk Greef
799fd96680
Improve test to preserve internal spacing and to inspect error
2019-06-03 16:29:17 +02:00
Joran Dirk Greef
711dea9623
Polish macOS and Windows methods
2019-06-03 16:27:15 +02:00
Joran Dirk Greef
7e2db9e19e
Improve Linux support to match macOS and Windows
...
Preserve current working directory.
Support explicit options.env environment variables.
Support multiple commands separated by semicolons.
Distinguish between elevation errors and command errors.
Fixes : #39
Fixes : #88
Fixes : #91
2019-06-03 16:22:41 +02:00
Joran Dirk Greef
ab3a0bd981
Test options.env
2019-06-01 17:20:19 +02:00
Joran Dirk Greef
dac09e3c7b
Add options.env to set environment variables on macOS and Windows
2019-06-01 17:19:31 +02:00
Joran Dirk Greef
691c1d7eae
Further improve kdesudo message to match macOS
2019-06-01 11:40:35 +02:00
Joran Dirk Greef
8d02007e4b
Fix Windows to return PERMISSION_DENIED Error even when Windows' error
...
messages are internationalized.
Fixes : #96
2019-06-01 10:36:22 +02:00
Joran Dirk Greef
dc0c5f5494
Always return PERMISSION_DENIED as an Error
2019-06-01 10:36:11 +02:00
Joran Dirk Greef
0012c3a905
Remove empty WindowsWriteElevateScript() from control flow
2019-06-01 10:24:49 +02:00
Joran Dirk Greef
da118e99c3
Fix line lengths
2019-06-01 10:22:57 +02:00
Joran Dirk Greef
4da9ecb572
Improve kdesudo arguments to match macOS
2019-06-01 10:19:04 +02:00
Joran Dirk Greef
2ece63fdc1
Improve kdesudo message to match macOS
2019-06-01 10:19:04 +02:00
Joran Dirk Greef
e3706a69df
Remove assets from "files" whitelist to reduce published package size
2019-06-01 10:18:58 +02:00
Joran Dirk Greef
98a534648c
8.2.5
2018-12-12 11:28:18 +02:00
Joran Dirk Greef
98e0c98b30
Update CHANGELOG.md
2018-12-12 11:28:12 +02:00
Joran Dirk Greef
b40acb669b
Whitelist package files
2018-12-12 11:26:45 +02:00
Joran Dirk Greef
855e961bd8
8.2.4
2018-12-12 10:38:15 +02:00
Joran Dirk Greef
c23d02de57
Merge branch 'master' of https://github.com/jorangreef/sudo-prompt
2018-12-12 10:33:24 +02:00
Joran Dirk Greef
206e45e499
Add links to issues
2018-12-12 10:33:08 +02:00
Joran Dirk Greef
5c743a9658
Revert "Add a fallback to which pkexec
on Linux"
...
This reverts commit 0e933b77c3
.
2018-12-12 10:27:28 +02:00
Joran Dirk Greef
2ce0236293
Merge pull request #80 from subvertallchris/changelog
...
Add CHANGELOG.md
2018-12-12 10:26:09 +02:00
Joran Dirk Greef
7eff61018d
Merge pull request #80 from subvertallchris/changelog
...
Add CHANGELOG.md
2018-12-12 10:24:24 +02:00
Chris Grigg
6ad74c39be
add CHANGELOG file
2018-12-11 12:40:20 -05:00
Joran Dirk Greef
0e933b77c3
Add a fallback to which pkexec
on Linux
...
Fixes: https://github.com/jorangreef/sudo-prompt/issues/77
2018-12-10 18:38:50 +02:00
Joran Dirk Greef
b07e6a87ca
8.2.3
2018-09-11 15:34:38 +02:00
Joran Dirk Greef
ef8484bb36
Fix README
2018-09-11 15:34:30 +02:00
Joran Dirk Greef
79ae2be42a
8.2.2
2018-09-11 15:33:15 +02:00
Joran Dirk Greef
8c8665b321
Update README
2018-09-11 15:33:12 +02:00
Joran Dirk Greef
52f82d0660
8.2.1
2018-09-11 15:21:14 +02:00
Joran Dirk Greef
8c1a3022f3
Run command idempotently when hostname cannot be resolved
2018-09-11 15:20:05 +02:00
Joran Dirk Greef
ad291f7bd0
8.2.0
2018-03-22 08:49:35 +02:00
Joran Dirk Greef
f677081dba
Windows: Fix cd when cwd is on another drive
2018-03-22 08:48:58 +02:00
Joran Dirk Greef
8aef0421fb
8.1.0
2018-01-10 15:26:33 +02:00
Joran Dirk Greef
0ba8cf0b27
Linux: Increase maxBuffer limit to 128 MiB
2018-01-10 15:26:24 +02:00
Joran Dirk Greef
ebb21118e6
8.0.0
2017-11-02 12:43:07 +02:00
Joran Dirk Greef
6a0577a387
Breaking: Windows: Set code page of command batch script to UTF-8
2017-11-02 12:43:00 +02:00
Joran Dirk Greef
30cd59a0c5
7.1.1
2017-07-18 15:18:25 +02:00
Joran Dirk Greef
6e9e7b6f84
readme: explicitly mention that no child process is returned
2017-07-18 15:18:16 +02:00
Joran Dirk Greef
b88253fee2
7.1.0
2017-06-20 10:04:15 +02:00
Joran Dirk Greef
297b0d17a1
Detect when PowerShell fails to launch command
2017-06-20 10:04:09 +02:00