2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-14 09:04:04 +00:00
Commit Graph

1137 Commits

Author SHA1 Message Date
omouren
1c8d04e532 Fix #486 : --tray flag crashes nativefied app under Windows (PR #495) 2017-11-25 23:27:19 -05:00
Ronan Jouchet
8963544afa
Fix #462 - When minimized to tray and single-instance, re-running the app should activate and focus it (#490) 2017-11-24 10:31:08 -05:00
Ronan Jouchet
2b377a7916
Fix #461 & address #375 in Docker: move Dockerfile to Debian and use wine32 (#488)
- Should address #375 (building a win app from linux) under Docker,
  thanks @dipenpatel235 for the suggestion to use `wine32` at
  https://github.com/jiahaog/nativefier/issues/375#issuecomment-304247033
- Regarding #461, Docker build seems fine but it was already
  fine for some time, not sure what happened.

Also clean up a bit the Dockerfile using suggestions from
[hadolint](https://github.com/lukasmartinelli/hadolint/).
2017-11-24 10:28:59 -05:00
Goh Jia Hao
db74db8911 7.5.4 2017-11-24 11:36:37 +08:00
Goh Jia Hao
09b236e8eb Update changelog for v7.5.2 2017-11-24 11:15:47 +08:00
Ronan Jouchet
6ac4f33661 Update Dockerfile to node8-alpine, fix typos 2017-11-16 14:08:30 -05:00
Ronan Jouchet
6fb3b92eb8
Upgrade dependencies and default to latest Electron 1.7.9 (PR #483)
* Update deps except eslint
* Update eslint and lint:fix (WIP, needs manual fixing for remaining 44 problems)
* Manually fix remaining eslint errors
* Document deprecation of `version-string` as of electron-packager 9.0.0
* Upgrade to Electron 1.7.9 (chrome-58, node-7.9.0, v8-5.8)
* npm: Disable generation of package-lock.json and gitignore it
  --Trying this, package-lock is a pain in PRs. May not be a good idea
  (obviously we lose deps pinning), will revert if necessary.--
* npm tasks: add dev-up-win for Windows developers,
  and e2e for end-to-end tests. Update docs.
* Move normalizeUrl test to a jest unit test, makes no sense to be in the mocha e2e tests
* Switch from babel-preset-es2015 to babel-preset-env,
  with target.node=4.0. Seem like it's today's most convenient
  way to support the latest ES and let babel transpile to what
  makes sense for our currently minimal node version
2017-11-14 08:05:01 -05:00
Goh Jia Hao
78bedc62ac 7.5.1 2017-11-13 00:19:46 +08:00
Goh Jia Hao
fef8ad2040 Remove node v9 from travis builds
We have to keep this until `npm install -g npm` supports node v9, see nodejs/node#16649
2017-11-12 17:47:32 +08:00
Goh Jia Hao
300bf28b51 Update changelog for v7.5.0 2017-11-12 01:14:58 +08:00
omouren
885790bc22 Fix #304 - Add --tray CLI flag to let app running in background on window close. Supports in-title counter. (#457) 2017-10-05 19:32:48 -04:00
Devin Buhl
4c581f9067 Fix #275 - Add HTTP --basic-auth-{username,password} CLI flags (#444) 2017-10-05 18:44:03 -04:00
Bob Roth
3e7cec2ecb Fix #438 - Add missing params to buildApp (#450) 2017-10-03 12:02:41 -04:00
Matt Harris
ede0bd8ca6 Fix #448 - Add offline build detection and advice (#452) 2017-10-03 11:58:00 -04:00
Sayed Hadi Hashemi
84dcde9d5b Fix #404: Add 'Paste and Match Style' to Edit Menu (#447) 2017-10-03 11:51:34 -04:00
ReadmeCritic
952290899e Correct the capitalization of Xcode in README (#459) 2017-10-03 11:44:31 -04:00
Bob Roth
c9d2040327 Allow nativefier to set process.env variables (#419) 2017-08-16 10:20:43 -04:00
Bob Roth
fc7a213a87 Fix #226 - Added support for app-copyright, app-version, build-version, version-string and win32metadata (#244) 2017-08-15 14:18:44 -04:00
Lukas Kurucz
094cac23bc Make title counter regex match '+' after number, used by certain sites (#424) 2017-08-13 21:22:15 -04:00
Goh Jia Hao
b5913b086e Don't run jshint on hound 2017-08-12 11:44:00 +08:00
Goh Jia Hao
33fe71a855 Add package-lock for npm
This fixes dependency issues that were experienced in notably #425 and
other master commits I've tried to restart on 12/08/17
2017-08-12 11:34:48 +08:00
Ronan Jouchet
c6019ad13e Release 7.4.1 (#425) 2017-08-10 22:51:32 +08:00
Brian Blakely
1f07f148c6 Force fullscreen when options.fullScreen is true (#403)
Fixes #402, as electron-window-state does not appear to remember fullscreen in all cases.
2017-08-06 20:01:34 -04:00
Bob Roth
6ed2bd0672 fixes issue #353: missing companyName in crashReporter.start (#417) 2017-07-21 15:55:39 -04:00
Ronan Jouchet
2b061e497f ISSUE_TEMPLATE: Add common questions (#415) 2017-07-18 11:24:41 -04:00
David Pacheco
38825e8b71 Add options (--ignore-gpu-blacklist and --enable-es3-apis) to allow for WebGl apps to work on legacy or unsupported graphics cards by Chrome (#410) 2017-07-13 12:23:07 -04:00
romo-dw
ab435ee5a6 Add support for --disk-cache-size Electron flag (PR #400) 2017-07-05 09:07:31 -04:00
Ronan Jouchet
f41c376761 Fix build broken in Node 8.x (#387)
See https://github.com/tjunnone/npm-check-updates/issues/355
2017-06-30 00:22:23 +08:00
Stefan Koshy
91505c90fe Fix #28 - Executable name being 'Electron' always under Windows (PR #389) 2017-06-18 19:13:35 -04:00
Jia Hao Goh
751eef1fd7 Update changelog for v7.4.0 2017-05-21 20:44:45 +08:00
Jia Hao Goh
bc594e24e6 Add jq to docs as release dependency 2017-05-21 20:42:36 +08:00
Tobias Schneck
95cc30983b Run Nativefier with Docker (#311)
TODO: windows are currently not possible, because of non 64-bit version of `node-rcedit`, see https://github.com/electron/node-rcedit/issues/22. Also there is currently no 32-bit alpine package for wine, what possible solve this image.
2017-05-19 21:21:16 +08:00
Jia Hao
f7881a246b Add hound config (#369)
Make hound use eslint
2017-05-19 21:03:02 +08:00
Jia Hao Goh
f91b2ba43d Fix bug resolving promises
When a explicit argument is passed for `--icon` or `--user-agent`, the
promise chain will fail because we do not return a resolved promise.
2017-05-19 20:50:09 +08:00
Jia Hao Goh
0f0df27133 Add codeclimate config 2017-05-07 16:02:30 +08:00
Jia Hao Goh
1505933826 Promisfy and parallelise config, add unit tests
Instead of optionsMain exporting an async function, this commit changes
it to return a promise instead. We split all the needed async
helpers for this config builder into smaller promises, in `src/options/*`. Another side
effect of this is that we perform all our async config inferring in
parallel, which speeds up the nativefier CLI.

Add proper unit tests as well for all of these promises. Switch to
Jest for these unit tests, and we are temporarily running both Jest and
mocha together in `npm test`. To refactor all the Mocha code to use Jest in
a future commit.
2017-05-07 15:49:15 +08:00
Matt Harris
10eaa53b26 Add ARM build support (#360) 2017-05-06 15:11:51 -04:00
Alex Ryan
fc4cfc51bd Add entry for hide-window-frame to Table of Contents in api.md (#357) 2017-05-03 07:33:22 -04:00
Jia Hao Goh
68b0c0ac27 Only release to NPM on one job 2017-04-30 03:10:01 +08:00
Jia Hao Goh
18cf90809f Remove quotes around changelog version 2017-04-30 02:54:47 +08:00
Jia Hao Goh
561eadba54 Update changelog for v7.3.1 2017-04-30 02:51:18 +08:00
Jia Hao Goh
a6d8ff8d6a Add script to update version and changelog 2017-04-30 02:50:07 +08:00
Jia Hao Goh
7a13892b3a Update changelog for 7.3.0 2017-04-30 00:54:15 +08:00
Jia Hao Goh
20fc09799b Remove Windows tests
We don't want to install wine on travis, as it slows down the whole CI
process.

We also shouldn't be testing if we can build the electron app,
and instead our unit tests should test that we pass the correct
parameters to electron packager.

TODO ^
2017-04-30 00:41:15 +08:00
Jia Hao Goh
28e1e9ee40 Cleanup travis config 2017-04-30 00:39:59 +08:00
Jia Hao Goh
8f78dd03af Update eslint and use Airbnb style
- Add `npm run lint:fix` command
- Cleanup inferIcon.js logic slightly
2017-04-29 22:52:12 +08:00
Darren Haken
461c7a38f0 Change Mocha to not need a babel build to run (#349)
* Change Mocha to not need a babel build to run

- Also add tests around normalizeUrl

* PR 359 Apply changes due to comments

- Remove babelrc as its in the package.json
- Change tdd npm task to use gulp
- Remove source map support file from import list for normalizeUrlSpec
- Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
2017-04-25 16:04:57 +01:00
Jia Hao Goh
b467ac7a51 Promisify inferTitle module
Also remove the request dependency, use Axios instead
2017-04-21 00:24:48 +08:00
Jia Hao Goh
eeaa531083 Add autodeploy to NPM on tag
Removing the development branch, we want to use GitHub releases to
autodeploy our changes to NPM.
2017-04-20 10:10:40 +08:00
Jia Hao Goh
34f91c0a20 7.2.0 2017-04-20 01:33:18 +08:00