1.0.1
This commit is contained in:
parent
195b9dfb45
commit
8cd54658eb
|
@ -21,7 +21,7 @@ sudo chmod +x /usr/local/bin/sampler
|
||||||
sudo wget https://github.com/sqshq/sampler/releases/download/v1.0.0/sampler-1.0.0-linux-amd64 -O /usr/local/bin/sampler
|
sudo wget https://github.com/sqshq/sampler/releases/download/v1.0.0/sampler-1.0.0-linux-amd64 -O /usr/local/bin/sampler
|
||||||
sudo chmod +x /usr/local/bin/sampler
|
sudo chmod +x /usr/local/bin/sampler
|
||||||
```
|
```
|
||||||
### Windows
|
### Windows (experimental)
|
||||||
Recommended to use with advanced console emulators, e.g. [Cmder](https://cmder.net/)
|
Recommended to use with advanced console emulators, e.g. [Cmder](https://cmder.net/)
|
||||||
|
|
||||||
[Download .exe](https://github.com/sqshq/sampler/releases/download/v1.0.0/sampler-1.0.0-windows-amd64.exe)
|
[Download .exe](https://github.com/sqshq/sampler/releases/download/v1.0.0/sampler-1.0.0-windows-amd64.exe)
|
||||||
|
|
|
@ -14,7 +14,7 @@ const (
|
||||||
ColumnsCount = 80
|
ColumnsCount = 80
|
||||||
RowsCount = 40
|
RowsCount = 40
|
||||||
AppTitle = "sampler"
|
AppTitle = "sampler"
|
||||||
AppVersion = "1.0.0"
|
AppVersion = "1.0.1"
|
||||||
AppLicenseWarning = "UNLICENSED. FOR NON-COMMERCIAL USE ONLY. VISIT WWW.SAMPLER.DEV"
|
AppLicenseWarning = "UNLICENSED. FOR NON-COMMERCIAL USE ONLY. VISIT WWW.SAMPLER.DEV"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -27,11 +27,6 @@ func (s *BasicInteractiveShell) init() error {
|
||||||
cmd := exec.Command("sh", "-c", s.item.initScripts[0])
|
cmd := exec.Command("sh", "-c", s.item.initScripts[0])
|
||||||
enrichEnvVariables(cmd, s.variables)
|
enrichEnvVariables(cmd, s.variables)
|
||||||
|
|
||||||
err := cmd.Wait()
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
stdout, err := cmd.StdoutPipe()
|
stdout, err := cmd.StdoutPipe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue