* Fix merge issues in develop
* Add -timeout to go test
The tests are timing out on TravisCI for some reason so a timeout has
been added so that `go test` will dump out the goroutine stack traces
when the tests are stuck.
* gui.Close now wakes up main loop
Without this, otherwise successful tests in main_test.go hang.
* Use a longer timeout in case CI infrastructure is slow
* Fix various gofmt issues
Not sure how some of these crept in.
* Add Windows launcher
The launcher looks at directory "Versions" next to its executable.
It finds the latest version and runs the executable in that directory
with the same name as itself. For instance:
Aminal.exe <- the launcher
Versions/
1.0.0/
Aminal.exe
1.0.1/
Aminal.exe
In this example, running the top-level Aminal.exe (the launcher) starts
Versions/1.0.1/Aminal.exe.
Having a launcher allows Aminal to be updated while it is running. For
example, version 1.0.1 could be downloaded without disturbing running
instances of Aminal 1.0.0.
* Implement a command-line installer for Windows
It can be generated with the Make target installer-windows.
It requires that you ran Make target launcher-windows before.
* Implement Uninstaller for Windows
* Codesign Windows auto-update executables
* Don't require Admin privileges for Win uninstaller
* Remove references to fman
* Explain automatic updates in windows.md
* Limit installer go packages compilation only to Windows platform
* Added Make targets for gofmt
- `make check-gofmt` will check for files that aren't gofmt compliant
- `make gofmt` will fix any gofmt error's in Aminal's source
Vendored files are ignored.
* Add gofmt check to TravisCI checks
* Fix gofmt errors
* Windows support and enhancements.
- Added basic platform abstraction layer for Pty and Process creation;
- Added "platform" package that exposes a few interfaces and provides implementations for different platforms;
- Windows build and dev env setup instructions;
- Setup Travis and deploy git tags to GItHub releases;
- Window scaling awares of monitor's dpi;
- Resolved memory leaks on window resizing;
- Default limit for terminal's buffer length.
Co-authored-by: nikitar020 <nikitar020@mail.ru>
Co-authored-by: Max Risuhin <risuhin.max@gmail.com>
Co-authored-by: Roman Shevchenko <rrrooommmaaa@mail.ru>
* ReadMe updated with Windows support; Detecting of currently used monitor.