diff --git a/README.md b/README.md index 4705228..643d118 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,16 @@ npm start ### Building binaries You can build binaries from source code. Binaries will be placed in `dist/` directory +#### Current platform +To build binaries for your current OS run: +```bash +npm run dist +``` + #### Linux & Windows To build binaries for Linux (using remote build service on Windows) and Windows (using Wine on Linux) ```bash -npm run dist +npm run dist-wl ``` ***Note:** to build `rpm` on MacOS you need to install rpm using [brew](https://brew.sh/) (`brew install rpm`)* diff --git a/package.json b/package.json index e0b76c2..e5aea74 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "start": "npm install && electron ./", "test": "echo \"Error: no test specified\" && exit 1", "pack": "build --dir", - "dist": "build -wl --x64 --ia32", + "dist": "build --x64 --ia32", + "dist-wl": "build -wl --x64 --ia32", "dist-mac": "build -m", "dist-mwl": "build -mwl --x64 --ia32", "gh-pub": "build --x64 --ia32 -p always", @@ -34,7 +35,21 @@ "build/icon.*" ], "mac": { - "category": "public.app-category.educational-games" + "category": "public.app-category.educational-games", + "fileAssociations": [ + { + "ext": "jpg", + "role": "Viewer" + }, + { + "ext": "jpeg", + "role": "Viewer" + }, + { + "ext": "png", + "role": "Viewer" + } + ] }, "dmg": { "contents": [