Prechádzať zdrojové kódy

docs(FAQs): answer some to-be-asked questions

evshiron 8 rokov pred
rodič
commit
4665a6eadb
2 zmenil súbory, kde vykonal 22 pridanie a 1 odobranie
  1. 1 1
      README.md
  2. 21 0
      docs/FAQs.md

+ 1 - 1
README.md

@@ -71,7 +71,7 @@ The above code snippet enables `npm run dist` and `npm run start`/`npm start`. T
 
 * Well done.
 
-This should be the common use case, read the following Options section and configure things if needed.
+This should be the common use case, read the following Options section and [FAQs](./docs/FAQs.md) if something is missing.
 
 See also [project for testing](./assets/project/) and [test cases](./test/) for reference.
 

+ 21 - 0
docs/FAQs.md

@@ -0,0 +1,21 @@
+
+# FAQs
+
+> Icons on Windows?
+
+* Prepare different sizes (eg. 32x32, 48x48, 64x64, 128x128, 256x256, etc.) of `.png`s and use `icotool` or some other tools to create a proper `.ico` file. 
+* Set the path of `.ico` to `package.json:build.win.icon`.
+* Set the path of a `.png` to `package.json:window.icon`.
+* Save and build.
+
+Windows Explorer might not reflect the changes immediately, if you have everything done and still see a default icon, check with something like Resource Hacker and restart Windows Explorer.
+
+> Building for NSIS target takes a long time, what can I do?
+
+Please follow [evshiron/nwjs-builder-phoenix#7](https://github.com/evshiron/nwjs-builder-phoenix/issues/7), before that you can add `--concurrent` to enable concurrent building, which should reduce time when building for multiple platforms.
+
+> How can I use `nwjs-builder-phoenix` with Chrome Apps?
+
+Simply add `--chrome-app` to the commandline arguments which enables support for Chrome Apps.
+
+Also configurations should be set in `manifest.json` instead of `package.json` but within the same `build` property.