Commit Graph

28 Commits

Author SHA1 Message Date
Menno Finlay-Smits 44233f384e Fix merge issues in develop (#257)
* 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.
2019-03-12 09:46:59 +03:00
Michael Herrmann ed8656930a Automatic updates on Windows (#247)
* 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
2019-03-07 14:50:02 +02:00
Menno Finlay-Smits 35193b7981 Gofmt (#216)
* 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
2019-02-14 16:45:53 +00:00
Max Risuhin a8ed9d472e Windows support and enhancements. (#123)
*  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.
2019-01-07 12:00:08 +00:00
Liam Galvin bf90bfb334
Update Makefile 2018-12-06 13:38:13 +00:00
Liam Galvin 387e3539c0 build fix again 2018-12-06 13:23:04 +00:00
Liam Galvin 8d8e9166ab homebrew preparation 2018-12-06 12:54:17 +00:00
Liam Galvin 177e928b71 more efficient text rendering and streamlining of output handling 2018-12-01 22:09:20 +00:00
Liam Galvin 6e74c6d2ee Fix ldflags in makefile 2018-11-25 20:21:02 +00:00
Liam Galvin f47e47babd added version check 2018-11-25 19:08:48 +00:00
Liam Galvin 00b78df336 Add .deb for debian/ubuntu 2018-11-25 16:59:44 +00:00
Liam Galvin 58bd0140a0 fixed darwin build 2018-11-24 21:11:49 +00:00
Liam Galvin 7a01195fd6 fixed darwin build 2018-11-24 20:57:51 +00:00
Liam Galvin e60a57a0e3 fixed darwin build 2018-11-24 20:48:11 +00:00
Liam Galvin 420d536eb6 fixed darwin build 2018-11-24 20:42:10 +00:00
Liam Galvin 89f0d9e75c fixed darwin build 2018-11-24 20:40:09 +00:00
Liam Galvin 8c20a23542 fixed darwin build 2018-11-24 20:36:18 +00:00
Liam Galvin e83f07a563 releasing 2018-11-24 20:07:04 +00:00
Liam Galvin 1f4292683e releasing 2018-11-24 20:01:11 +00:00
Liam Galvin ea24c1720d releasing 2018-11-24 19:45:33 +00:00
Liam Galvin dfa828468b releasing 2018-11-24 19:43:22 +00:00
Liam Galvin 22fc919085 releasing 2018-11-24 19:20:46 +00:00
Liam Galvin 788ef6de75 release script 2018-11-24 18:43:48 +00:00
Liam Galvin 550c841411 release script 2018-11-24 18:38:40 +00:00
Liam Galvin 261424c9ec release script 2018-11-24 17:15:51 +00:00
Liam Galvin 76397d2115 fix build 2018-11-24 16:17:54 +00:00
Liam Galvin de446cc01a More makefile fun 2018-11-23 21:21:17 +00:00
Liam Galvin 1371ace95c Adding missing DL CIS handler 2018-11-15 11:33:35 +00:00