Ronan Jouchet
f4af78018f
Fix arg validation regression in #1080 ( fix #1083 )
2020-12-06 23:19:02 -05:00
Ronan Jouchet
46bc71cb63
release.md: fix pushing tags by using annotated tags, document new CI build based on creating release
2020-12-06 14:29:42 -05:00
Ronan Jouchet
9dc0bed95c
Update changelog for v42.0.0
2020-12-06 14:08:18 -05:00
Ronan Jouchet
7c5b2bb68f
Bump default Electron to 11.0.3, bump dep eslint-config-prettier to 7.x, bump version to something far away from current Electron version
...
Rationale for nonsensical major version bump: around Nativefier 8.x,
versions of Nativefier and Electron aligned, by release schedule coincidence.
Since Nativefier has little breaking changes, it was great: as Electron
releases are breaking, Nativefier had no breaking changes, I bumped our
major version on new major Electron, and everything was good.
Except *now*, as I have a breaking change, that would bump Nativefier to
12.x, which would be confusing since we'd still default to Electron 11 :-/ .
-> To keep respecting semver and reduce confusion, bumping Nativefier
version to something far ahead. No it doesn't matter, version
number are meaningless anyway (well, outside of semver, whose
respect is precisely the point here).
2020-12-06 13:57:51 -05:00
erythros
27ecfcbeca
Check for improperly-formatted arguments ( fix #885 ) (PR #1080 )
...
Verifies short arguments do not contain an extra dash ( right: `-h`, error: `--h` )
Verifies long arguments contain at least two dashes ( right: `--help`, error: `-help` )
2020-12-06 12:34:32 -05:00
erythros
9b608d4d24
Correctly start in tray when both --maximize and --tray start-in-tray are passed ( fix #1015 ) (PR #1079 )
...
Co-authored-by: erythros <erythros.com>
2020-12-01 19:14:06 -05:00
Matthew Ruzzi
e8d3530b43
Warn on old Electron/Chrome ( fix #556 ) (PR #1076 )
...
Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2020-11-30 21:45:35 -05:00
erythros
3e0011a29c
Fix icon path error when passing asar (--conceal) flag ( fix #975 ) (PR #1074 )
...
By moving icon copy before packaging by `electron-packager` occurs.
2020-11-30 14:51:19 -05:00
Jia Hao
f2c816795a
Actually fix the badge in the README
...
According to https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/adding-a-workflow-status-badge , we must reference the workflow by name if it contains the `name` keyword.
2020-11-22 02:35:30 +00:00
Jia Hao
125a3894d2
Fix badge in README
2020-11-22 02:30:53 +00:00
Jia Hao
59accaba8d
Migrate from Travis CI to GitHub Actions
2020-11-22 02:28:14 +00:00
Ronan Jouchet
b821ade761
Update changelog for v11.0.2
2020-11-21 14:52:08 -05:00
Ronan Jouchet
292416b83f
Bump default Electron to 11.0.2
2020-11-21 11:28:00 -05:00
erythros
bbd51ad988
Support using a Widevine-enabled Electron for DRM playback ( fix #435 ) (PR #1073 )
2020-11-21 09:39:07 -05:00
Ronan Jouchet
7531c3136e
Update changelog for v10.1.5
2020-11-08 21:52:39 -05:00
Ronan Jouchet
4c8d1a1185
Travis: more attempting to get ts-estlint to install on npm7
...
Looking at https://travis-ci.org/github/jiahaog/nativefier/jobs/742333968 ,
I see that @typescript-eslint/eslint-plugin@3.10.1 is being "Found".
I didn't ask for it, and I see that Travis reports in its "cache.npm"
section that
adding /home/travis/build/jiahaog/nativefier/node_modules to cache
creating directory /home/travis/build/jiahaog/nativefier/node_modules
-> Maybe Travis is trying to reuse stuff and we had a leftover ts-eslint@3
in the build machine??? Trying prefixing dev-up with a cleanup
2020-11-08 21:42:39 -05:00
Ronan Jouchet
f9815cb49f
Deps: more trying getting npm7 peerDeps to play nice
2020-11-08 21:31:04 -05:00
Ronan Jouchet
571717949d
Deps: try to make npm7 peerDep resolution happy
...
see example failed build at https://travis-ci.org/github/jiahaog/nativefier/jobs/742329221
2020-11-08 21:15:51 -05:00
Ronan Jouchet
810f4a1e6a
Deps: bump webpack from 4.x to 5.x (-cli from 3.x to 4.x)
2020-11-08 21:08:24 -05:00
Ronan Jouchet
1add237878
Deps: bump ts-eslint from 3.x to 4.x
2020-11-08 20:52:42 -05:00
Ronan Jouchet
c78147225d
CI: Add a node.js 15 build
2020-11-08 20:45:36 -05:00
Matthew Ruzzi
2c10d122f3
Bump default Electron to 10.1.5 (with Chromium 85.0.4183.121) ( #1066 )
...
Fixes [CVE-2020-15999](https://github.com/advisories/GHSA-pv36-h7jh-qm62 ) Heap overflow in the freetype library by upgrading to Electron [10.1.5](https://github.com/electron/electron/releases/tag/v10.1.5 )
https://github.com/electron/electron/pull/26070
2020-11-08 20:29:11 -05:00
adasauce
43073cb3f7
README: suggest docker "-rm" flag to clean up containers after build ( #1064 )
...
Otherwise it keeps around randomly-named containers forever.
2020-11-05 21:41:42 -05:00
Ronan Jouchet
6dbe4998b6
Update changelog for v10.1.0
2020-08-29 17:11:55 -04:00
Ronan Jouchet
7f3ebb1a69
On successful build, better explain how to run the app and what to do with it ( fix #1029 )
2020-08-29 16:41:33 -04:00
Ronan Jouchet
cb4ab05e7b
cli: document arm64 arch
2020-08-29 16:21:42 -04:00
Ronan Jouchet
b1d0d6857f
Bump default Electron to 10.1.0, bump to TS 4.x
2020-08-29 16:16:25 -04:00
Ronan Jouchet
06369f1213
api.md: document arm64 arch
2020-08-29 16:16:25 -04:00
Cassidy James Blaede
1c06af23fa
inferOs: Add support for arm64 ( #1037 )
...
Tested on a Pinebook Pro running elementary OS
2020-08-29 16:12:22 -04:00
Ronan Jouchet
e24b22ea7f
Update changelog for v9.2.0
2020-08-10 21:47:07 -04:00
Ronan Jouchet
85629434e6
Bump default Electron to 9.2.0
2020-08-10 21:42:57 -04:00
Ronan Jouchet
b8b5cd5bc4
Document child process named "Electron" when building windows apps under non-Windows and without Wine ( fix #1022 )
2020-08-10 21:37:45 -04:00
Ronan Jouchet
fd88d5199f
Restore & pimp docker docs in README, now that Docker build has been fixed by Jia (thanks Jia) ( fix #848 )
2020-08-10 21:33:32 -04:00
Ronan Jouchet
d16da7dd1f
Type BrowserWindow
2020-08-10 21:21:24 -04:00
davidfant
bd077756e8
Emit TS type declarations, and type NativefierOptions ( #1016 )
...
This PR adds better Typescript support when using the Node module directly:
1. Generate type declarations when running `tsc`
2. Created the `NativefierOptions` type for the `buildNativefierApp` function instead of using `any`
2020-08-05 20:26:41 -04:00
Joe Skeen
3e5f1fabad
[dev] Add unified {build,test} watch mode, using "concurrently" ( #1011 )
...
I noticed that the development README suggested using multiple console
windows/tabs for a good development experience. Using the package `concurrently`,
we can streamline that and require only one window with output for both watch processes:
![image](https://user-images.githubusercontent.com/12286274/88694827-477d9e80-d0be-11ea-898c-ee9a509db4bb.png )
Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2020-08-05 12:52:49 -04:00
Joe Skeen
8e8cd24e0d
Add --block-external-urls
flag to forbid external navigation attempts ( Fix #978 - PR#1012)
...
Fixes #978
Adds a `--block-external-urls` option (default: `false`) that prevents opening external links (as classified by the `--internal-urls` option).
Documentation and tests updated.
Example:
```
nativefier --internal-urls "classroom\.google\.com" --block-external-urls
```
![image](https://user-images.githubusercontent.com/12286274/88739501-f12d5180-d0f7-11ea-9821-86f3e9bfa070.png )
![image](https://user-images.githubusercontent.com/12286274/88739512-fab6b980-d0f7-11ea-877c-7bd565352a93.png )
2020-08-02 14:31:47 -04:00
Ronan Jouchet
5d9a7ae4bc
nit
2020-07-22 21:08:07 -04:00
Ronan Jouchet
6f50ac6f4f
A little less aggressive
2020-07-22 21:07:22 -04:00
Ronan Jouchet
3bf3f2c0a8
One more
2020-07-22 21:04:58 -04:00
Ronan Jouchet
bed84e5735
One more nit
2020-07-22 20:57:48 -04:00
Ronan Jouchet
c87204cce7
Typo
2020-07-22 20:56:58 -04:00
Ronan Jouchet
7c84785e33
typo
2020-07-22 20:56:29 -04:00
Ronan Jouchet
f8e0e9d6cb
Detail question.md
2020-07-22 20:56:14 -04:00
Ronan Jouchet
b631ee23d6
Nit
2020-07-22 20:54:27 -04:00
Ronan Jouchet
6b73b4e8f8
Improve issue templates
2020-07-22 20:53:46 -04:00
Ronan Jouchet
99ceec59c8
Forbid creating template-less issues
2020-07-22 20:37:04 -04:00
Ronan Jouchet
8684887fc6
Bump eslint to 7.x, fix new lint errors
2020-07-18 11:19:58 -04:00
Ronan Jouchet
30f7aff7a9
README: fix links to bugs & feature requests
2020-07-18 10:30:22 -04:00
Ronan Jouchet
1a36d24597
More README nits
2020-07-18 10:27:56 -04:00