Commit graph

25 commits

Author SHA1 Message Date
Timothy Robert Bednarzyk
7cdc90c5df Make native installer POSIX shell compliant 2020-11-21 23:16:02 +00:00
Oliver Blanthorn
ef9f02d0da
Make native{install,update} use corresponding tag for stable build
Beta builds will always use most recent messenger, which I think is probably fair;
old beta builds are unsupported.
2019-05-31 15:02:05 +01:00
glacambre
78e662efef
Add shellcheck to travis 2019-03-24 18:28:41 +01:00
glacambre
a287f82c7a
native/install.sh: Warn user on failure to create manifest/messenger
https://github.com/tridactyl/tridactyl/issues/1099 happened because of a
misconfigured $XDG_DATA_DIR. This could have been caught by checking
that the manifest and the messenger actually exist. This commit adds
these checks.

Closes #1099.
2019-02-11 07:25:29 +01:00
Alex Griffin
e8f216f441 Some small fixes to the native messenger installer 2018-09-06 10:02:31 -05:00
Roman Bogorodskiy
d80ac1a32b FreeBSD support for native install
Handle FreeBSD's OSTYPE (which has "freebsdX.Y" format). While here,
convert OSTYPE check to use 'case' instead of if's/elif's.

For unknown OSTYPE fallback to the default Linux location.
2018-08-25 20:33:31 +04:00
William G Hatch
e77e2a07fb use /usr/bin/env to find bash 2018-08-24 13:38:49 -06:00
Noah Birnel
50fd234da2 fix native install on opensuse - issue 941
check $OSTYPE against "linux" as well as "linux-gnu"
2018-08-23 14:05:07 -07:00
Oliver Blanthorn
17a1b318a6
Ours is not to reason why: fix #544 2018-05-17 13:54:56 +01:00
Colin Caine
2c1538b633 Depip installer 2018-05-09 13:46:51 +01:00
Colin Caine
cd8fd2c9f5 Make native install script more robust
Thanks to @i5513 on riot for reporting that our script broke on debian
without an error message.

Also refactored the sed escape stuff because what even is code re-use.
2018-05-09 12:51:01 +01:00
Oliver Blanthorn
81613c9c42
Merge branch 'master' of github.com:cmcaine/tridactyl into nativeuserchrome 2018-05-05 12:49:45 +01:00
Oliver Blanthorn
2f07595182
Fix native messenger breaking on OSX on update 2018-04-28 18:01:44 +01:00
Oliver Blanthorn
f1b67b4279
Merge branch 'master' of github.com:cmcaine/tridactyl into nativeuserchrome 2018-04-27 15:30:50 +01:00
Oliver Blanthorn
8438fc748c
Rasterize python location in the hopes of fixing OSX 2018-04-26 19:07:49 +01:00
Colin Caine
30f567313a Make native install.sh quieter and friendly 2018-04-25 22:23:31 +01:00
Oliver Blanthorn
21e12390f5
Add missing quotes 2018-04-25 21:16:56 +01:00
Oliver Blanthorn
aa5e5f3361
Add Python3 and pip check to install.sh 2018-04-25 20:43:42 +01:00
Colin Caine
ec13fa5dec
Native messenger code review 2018-04-25 20:43:41 +01:00
Oliver Blanthorn
5f68f9428d
Install native messenger on build; edit text in external editor
Currently we only support gVim and Linux, but `winword.exe` support is
theoretically possible.
2018-04-25 20:43:13 +01:00
John Beard
31958ed710
Merge johnnbeard's and IsaacKhor's native messenger
(Credited to John, merge by Olie)
2018-04-25 20:43:13 +01:00
Oliver Blanthorn
7b04fc455b
Initial attempt at userChrome editing 2018-04-21 18:17:39 +01:00
Colin Caine
50f7f3ed07 Native messenger code review 2018-04-18 22:02:31 +01:00
Oliver Blanthorn
713a9176db Install native messenger on build; edit text in external editor
Currently we only support gVim and Linux, but `winword.exe` support is
theoretically possible.
2018-04-18 21:51:40 +01:00
John Beard
962dd62c0b Merge johnnbeard's and IsaacKhor's native messenger
(Credited to John, merge by Olie)
2018-04-18 21:51:05 +01:00