Commit graph

18 commits

Author SHA1 Message Date
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
Oliver Blanthorn
47f90395eb
Rerename Windows native install script 2018-07-25 14:39:59 +01:00
Babil Golam Sarwar
02c76e0f00
Fix PowerShell auto-close when native-messenger installation fails 2018-07-11 17:08:44 +10:00
Babil Golam Sarwar
be245d5dfa
Add TLS 1.1/1.2 support to Invoke-WebRequest 2018-07-11 11:37:34 +10:00
Vladimir Macko
2fc9eb0c54 Fix bug introduced in #733 2018-06-25 15:43:14 +02:00
Babil Golam Sarwar
54aca0fcf7
Merge branch 'master' of https://github.com/cmcaine/tridactyl 2018-06-25 07:42:31 +10:00
Babil Golam Sarwar
e0c61d53c5
Fixes Non-ASCII username issue reported in #731 2018-06-25 07:41:58 +10:00
Vladimir Macko
310f7b5900 Improve robustness of Get-PythonVersionStatus 2018-06-24 01:14:01 +02:00
Babil Golam Sarwar
683c3dc086 Fix native_main.py URL in win_install.ps1 2018-06-08 14:54:23 +10:00
Oliver Blanthorn
2cc5662764
Output exe in artifacts with xpis etc 2018-05-28 14:00:05 +01:00
Babil Golam Sarwar
a940453958 Add -NoPython flag support to win_install.ps1
This patch replaces the previous `-UsePython` flag with `-NoPython`.
Essentially this flag replaces the native messenger installation
behavior with the following new strategy on Windows:

  * Look for Python-3 in user's Windows environment

    - If Python-3 is found, install `native_main.py` as the native
      messenger binary

    - If Python-3 is _not_ found, install `native_main.exe` as the
      native messenger binary
2018-05-20 06:21:35 +10:00
Babil Golam Sarwar
42f5c3d3ca Refactor download URI location in win_install.ps1 2018-05-18 13:37:30 +10:00
Babil Golam Sarwar
bf920989f3 Add compiled native_main.exe support on Windows
This commit adds support for comiling `native_main.py` into
`native_main.exe` using [PyInstaller][0].

By default, the Powershell installer script would use the compiled
EXE version for Windows. However, the old behaviour can achieved by
using the `-UsePython` flag to `win_install.ps1`.

Currently, the `native_main.exe` is built every time
`scripts/build.sh` is invoked. However, this behavior can be
adjusted by invoking the build script as shown below:

```
  PYINSTALLER="0" npm run build
```

[0]: https://www.pyinstaller.org
2018-05-18 11:44:01 +10:00
Babil Golam Sarwar
cc0f74863a Fix minor typo 2018-05-17 10:54:28 +10:00
Babil Golam Sarwar
5878d8e6fd Fix some minor typo and lint errors 2018-05-16 06:05:41 +10:00
Babil Golam Sarwar
a832411f56 Add minor revises to the Powershell script 2018-05-15 12:02:46 +10:00
Babil Golam Sarwar
f301f6549c Overhaul the Powershell script to address comments at #532 2018-05-15 07:39:11 +10:00
Babil Golam Sarwar
b860d046f2 Add native-messenger support for Windows 2018-05-14 17:37:05 +10:00