Move to nativefier organization

This commit is contained in:
Jia Hao 2021-01-30 04:49:52 +00:00 committed by GitHub
parent 66ff02584e
commit 6316d23762
16 changed files with 40 additions and 40 deletions

View File

@ -13,7 +13,7 @@ Please include the following in your new issue:
## Pull Requests
See [here](https://github.com/jiahaog/nativefier#development) for instructions on how to set up a development environment.
See [here](https://github.com/nativefier/nativefier#development) for instructions on how to set up a development environment.
We follow the [Airbnb Style Guide](https://github.com/airbnb/javascript), please make sure tests and lints pass when you submit your pull request.

View File

@ -15,9 +15,9 @@ Incomprehensible / incomplete bug reports will be closed.
**Homework**
- [ ] I looked at `nativefier --help` and https://github.com/jiahaog/nativefier/blob/master/docs/api.md
- [ ] I looked at `nativefier --help` and https://github.com/nativefier/nativefier/blob/master/docs/api.md
- [ ] I searched existing issues, open & closed. Yes, my bug is new.
- [ ] I'm using the latest version available at https://github.com/jiahaog/nativefier/releases
- [ ] I'm using the latest version available at https://github.com/nativefier/nativefier/releases
**Bug description**

View File

@ -15,9 +15,9 @@ Incomprehensible / incomplete feature requests will be closed.
**Homework**
- [ ] I looked at `nativefier --help` and https://github.com/jiahaog/nativefier/blob/master/docs/api.md , no existing option fits my needs.
- [ ] I looked at `nativefier --help` and https://github.com/nativefier/nativefier/blob/master/docs/api.md , no existing option fits my needs.
- [ ] I searched existing issues, open & closed. Yes, my feature request is new.
- [ ] I'm using the latest version available at https://github.com/jiahaog/nativefier/releases
- [ ] I'm using the latest version available at https://github.com/nativefier/nativefier/releases
**Problem statement**

View File

@ -15,9 +15,9 @@ Incomprehensible / incomplete questions will be closed.
**Homework**
- [ ] I looked at `nativefier --help` and https://github.com/jiahaog/nativefier/blob/master/docs/api.md
- [ ] I looked at `nativefier --help` and https://github.com/nativefier/nativefier/blob/master/docs/api.md
- [ ] I searched existing issues, open & closed. Yes, my question is new.
- [ ] I'm using the latest version available at https://github.com/jiahaog/nativefier/releases
- [ ] I'm using the latest version available at https://github.com/nativefier/nativefier/releases
**Your question**

View File

@ -32,7 +32,7 @@ This release includes several contributor patches. Thanks @sorhtyre @mattruzzi !
* **[BREAKING CHANGE] Warn on old Electron/Chrome (fix #556) (PR #1076)**
⚠️ Users packaging kiosk apps running for a long time on internal websites,
see https://github.com/jiahaog/nativefier/blob/master/docs/api.md#disable-old-build-warning-yesiknowitisinsecure
see https://github.com/nativefier/nativefier/blob/master/docs/api.md#disable-old-build-warning-yesiknowitisinsecure
* Check for improperly-formatted arguments (fix #885) (PR #1080)
* Correctly start in tray when both `--maximize` and `--tray start-in-tray` are passed (fix #1015) (PR #1079)
* Fix icon path error when passing asar `--conceal` flag (fix #975) (PR #1074)
@ -131,7 +131,7 @@ Except *now*, as I have a breaking change, which would bump Nativefier to
==================
* Attempt to fix failing to install due to app yarn install (#923)
See https://github.com/jiahaog/nativefier/pull/898#issuecomment-583865045 .
See https://github.com/nativefier/nativefier/pull/898#issuecomment-583865045 .
8.0.2 / 2020-03-15
==================
@ -155,7 +155,7 @@ Revamp and move to TypeScript (#898)
- That's it. Lots of care went into breaking CLI & programmatic behavior
as little as possible. **Please report regressions**.
- Known issue: build may fail behind a proxy. Get in touch if you use one:
https://github.com/jiahaog/nativefier/issues/907#issuecomment-596144768
https://github.com/nativefier/nativefier/issues/907#issuecomment-596144768
## Changes summary
@ -202,7 +202,7 @@ while **not changing the CLI/programmatic interfaces**. Highlights:
Bugfixes will come later. Still, these got addressed:
- Add common `Alt`+`Left`/`Right` for previous/next navigation.
- Improve #379: fix zoom with `Ctrl` + numpad `+`/`-`
- Fix pinch-to-zoom (see https://github.com/jiahaog/nativefier/issues/379#issuecomment-598612128 )
- Fix pinch-to-zoom (see https://github.com/nativefier/nativefier/issues/379#issuecomment-598612128 )
7.7.1 / 2020-01-23
@ -632,7 +632,7 @@ while **not changing the CLI/programmatic interfaces**. Highlights:
* Make debug script automatically open the packaged app on OSX
* Remove "About Electron" from app menu, add nativefier version to help, which fixes #18
* Implement `--pretend` flag to easily simulate user agent strings, fixes #11
* Merge branch 'master' of github.com:jiahaog/nativefier
* Merge branch 'master' of github.com:nativefier/nativefier
* Fix bug in error when response is undefined
* Add helper scripts to debug easily
* Hide app instead of exiting on OSX to fix #14

View File

@ -2,7 +2,7 @@ FROM node:12-stretch
LABEL description="Debian image to build nativefier apps"
# Get wine32, not 64, to work around binary incompatibility with rcedit.
# https://github.com/jiahaog/nativefier/issues/375#issuecomment-304247033
# https://github.com/nativefier/nativefier/issues/375#issuecomment-304247033
# Forced us to use Debian rather than Alpine, which doesn't do multiarch.
RUN dpkg --add-architecture i386
@ -25,9 +25,9 @@ USER 1000
# Run a {lin,mac,win} build: 1. to check installation was sucessful,
# 2. to cache electron distributables and avoid downloads at runtime.
RUN nativefier https://github.com/jiahaog/nativefier /tmp/nativefier \
&& nativefier -p osx https://github.com/jiahaog/nativefier /tmp/nativefier \
&& nativefier -p windows https://github.com/jiahaog/nativefier /tmp/nativefier \
RUN nativefier https://github.com/nativefier/nativefier /tmp/nativefier \
&& nativefier -p osx https://github.com/nativefier/nativefier /tmp/nativefier \
&& nativefier -p windows https://github.com/nativefier/nativefier /tmp/nativefier \
&& rm -rf /tmp/nativefier
ENTRYPOINT ["nativefier"]

View File

@ -8,14 +8,14 @@ so _we_ are not doing any active development.
But it's alive! It at least follows Electron releases with maintenance patches,
and if YOU use it and want to see juicy features & fixes, PR welcome!
Help welcome in particular on our [pinned issues](https://github.com/jiahaog/nativefier/issues),
Help welcome in particular on our [pinned issues](https://github.com/nativefier/nativefier/issues),
or any issue / feature that motivates you 🙂.
Thanks! Take care.
---
[![Build Status](https://github.com/jiahaog/nativefier/workflows/ci/badge.svg)](https://github.com/jiahaog/nativefier/actions?query=workflow%3Aci)
[![Build Status](https://github.com/nativefier/nativefier/workflows/ci/badge.svg)](https://github.com/nativefier/nativefier/actions?query=workflow%3Aci)
[![npm version](https://badge.fury.io/js/nativefier.svg)](https://www.npmjs.com/package/nativefier)
![Dock](docs/dock.png)
@ -70,32 +70,32 @@ If desired, these options can be overwritten. For example, to override the name,
to learn about other command-line flags usable to configure the packaged app.
To have high-resolution icons used by default for an app/domain, please
contribute to the [icon repository](https://github.com/jiahaog/nativefier-icons)!
contribute to the [icon repository](https://github.com/nativefier/nativefier-icons)!
## Usage with Docker
Nativefier is also usable from Docker.
- Pull the latest stable image from Docker Hub: `docker pull jiahaog/nativefier`
- Pull the latest stable image from Docker Hub: `docker pull nativefier/nativefier`
- ... or build the image yourself: `docker build -t local/nativefier .`
(in this case, replace `jiahaog/` in the below examples with `local/`)
(in this case, replace `nativefier/` in the below examples with `local/`)
By default, the command `nativefier --help` will be executed.
To build e.g. a Gmail nativefier app to a writable local `~/nativefier-apps`,
```bash
docker run --rm -v ~/nativefier-apps:/target/ jiahaog/nativefier https://mail.google.com/ /target/
docker run --rm -v ~/nativefier-apps:/target/ nativefier/nativefier https://mail.google.com/ /target/
```
You can pass Nativefier flags, and mount volumes to provide local files. For example, to use an icon,
```bash
docker run --rm -v ~/my-icons-folder/:/src -v $TARGET-PATH:/target jiahaog/nativefier --icon /src/icon.png --name whatsApp -p linux -a x64 https://web.whatsapp.com/ /target/
docker run --rm -v ~/my-icons-folder/:/src -v $TARGET-PATH:/target nativefier/nativefier --icon /src/icon.png --name whatsApp -p linux -a x64 https://web.whatsapp.com/ /target/
```
## Development
Help welcome on [bugs](https://github.com/jiahaog/nativefier/issues?q=is%3Aopen+is%3Aissue+label%3Abug) and
[feature requests](https://github.com/jiahaog/nativefier/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request).
Help welcome on [bugs](https://github.com/nativefier/nativefier/issues?q=is%3Aopen+is%3Aissue+label%3Abug) and
[feature requests](https://github.com/nativefier/nativefier/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request).
[Developer / build docs](docs/development.md), [API documentation](docs/api.md),
[Changelog](CHANGELOG.md).

View File

@ -307,7 +307,7 @@ export function createMainWindow(
const sendParamsOnDidFinishLoad = (window: BrowserWindow): void => {
window.webContents.on('did-finish-load', () => {
// In children windows too: Restore pinch-to-zoom, disabled by default in recent Electron.
// See https://github.com/jiahaog/nativefier/issues/379#issuecomment-598612128
// See https://github.com/nativefier/nativefier/issues/379#issuecomment-598612128
// and https://github.com/electron/electron/pull/12679
// eslint-disable-next-line @typescript-eslint/no-floating-promises
window.webContents.setVisualZoomLevelLimits(1, 3);
@ -378,7 +378,7 @@ export function createMainWindow(
mainWindow.webContents.on('will-navigate', onWillNavigate);
mainWindow.webContents.on('did-finish-load', () => {
// Restore pinch-to-zoom, disabled by default in recent Electron.
// See https://github.com/jiahaog/nativefier/issues/379#issuecomment-598309817
// See https://github.com/nativefier/nativefier/issues/379#issuecomment-598309817
// and https://github.com/electron/electron/pull/12679
// eslint-disable-next-line @typescript-eslint/no-floating-promises
mainWindow.webContents.setVisualZoomLevelLimits(1, 3);

View File

@ -221,14 +221,14 @@ export function createMenu({
label: `Built with Nativefier v${nativefierVersion}`,
click: () => {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
shell.openExternal('https://github.com/jiahaog/nativefier');
shell.openExternal('https://github.com/nativefier/nativefier');
},
},
{
label: 'Report an Issue',
click: () => {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
shell.openExternal('https://github.com/jiahaog/nativefier/issues');
shell.openExternal('https://github.com/nativefier/nativefier/issues');
},
},
],

View File

@ -18,7 +18,7 @@ import { createTrayIcon } from './components/trayIcon';
import { isOSX } from './helpers/helpers';
import { inferFlashPath } from './helpers/inferFlash';
// Entrypoint for Squirrel, a windows update framework. See https://github.com/jiahaog/nativefier/pull/744
// Entrypoint for Squirrel, a windows update framework. See https://github.com/nativefier/nativefier/pull/744
if (require('electron-squirrel-startup')) {
app.exit();
}

View File

@ -79,7 +79,7 @@
## Packaging Squirrel-based installers
See [PR #744 - Support packaging nativefier applications into Squirrel-based installers](https://github.com/jiahaog/nativefier/pull/744)
See [PR #744 - Support packaging nativefier applications into Squirrel-based installers](https://github.com/nativefier/nativefier/pull/744)
## Command Line

View File

@ -5,7 +5,7 @@
First, clone the project
```bash
git clone https://github.com/jiahaog/nativefier.git
git clone https://github.com/nativefier/nativefier.git
cd nativefier
```

View File

@ -44,7 +44,7 @@ git tag -a vX.Y.Z -m 'vX.Y.Z'
git push --follow-tags origin master
```
On [GitHub Releases](https://github.com/jiahaog/nativefier/releases),
On [GitHub Releases](https://github.com/nativefier/nativefier/releases),
draft and publish a new release with title `Nativefier vX.Y.Z` (yes, with a `v`).
Our CI will react on the new release, and publish it to npm.

View File

@ -20,13 +20,13 @@
"bin": {
"nativefier": "lib/cli.js"
},
"homepage": "https://github.com/jiahaog/nativefier",
"homepage": "https://github.com/nativefier/nativefier",
"repository": {
"type": "git",
"url": "git+https://github.com/jiahaog/nativefier.git"
"url": "git+https://github.com/nativefier/nativefier.git"
},
"bugs": {
"url": "https://github.com/jiahaog/nativefier/issues"
"url": "https://github.com/nativefier/nativefier/issues"
},
"scripts": {
"build-app": "cd app && webpack",
@ -67,12 +67,12 @@
"tmp": "0.x"
},
"devDependencies": {
"@types/jest": "26.x",
"@types/ncp": "2.x",
"@types/node": "10.x",
"@types/page-icon": "0.x",
"@types/shelljs": "0.x",
"@types/tmp": "0.x",
"@types/jest": "26.x",
"@typescript-eslint/eslint-plugin": "4.x",
"@typescript-eslint/parser": "4.x",
"eslint": "7.x",

View File

@ -279,11 +279,11 @@ if (require.main === module) {
)
.option(
'--global-shortcuts <value>',
'JSON file defining global shortcuts. See https://github.com/jiahaog/nativefier/blob/master/docs/api.md#global-shortcuts',
'JSON file defining global shortcuts. See https://github.com/nativefier/nativefier/blob/master/docs/api.md#global-shortcuts',
)
.option(
'--browserwindow-options <json-string>',
'a JSON string that will be sent directly into electron BrowserWindow options. See https://github.com/jiahaog/nativefier/blob/master/docs/api.md#browserwindow-options',
'a JSON string that will be sent directly into electron BrowserWindow options. See https://github.com/nativefier/nativefier/blob/master/docs/api.md#browserwindow-options',
parseJson,
)
.option(

View File

@ -15,7 +15,7 @@ import * as log from 'loglevel';
const writeFileAsync = promisify(writeFile);
const GITCLOUD_SPACE_DELIMITER = '-';
const GITCLOUD_URL = 'https://jiahaog.github.io/nativefier-icons/';
const GITCLOUD_URL = 'https://nativefier.github.io/nativefier-icons/';
function getMaxMatchScore(iconWithScores: any[]): number {
const score = iconWithScores.reduce((maxScore, currentIcon) => {