diff --git a/.circleci/config.yml b/.circleci/config.yml index c93edcc..1b0c1e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,4 +39,4 @@ jobs: # - run: yarn test # run build - - run: npm run-script dist \ No newline at end of file + - run: yarn run dist \ No newline at end of file diff --git a/README.md b/README.md index b51a0d6..39b2468 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,13 @@ The major framework is based on Electron, so it should be worked on Windows, Mac ## For Developers ```bash -$ git clone https://github.com/jcf94/vizgraph.git +git clone https://github.com/jcf94/vizgraph.git -$ cd vizgraph +cd vizgraph -$ npm install +npm install -$ npm start +npm start ``` Then start playing it. @@ -36,6 +36,6 @@ Use [electron-builder](https://github.com/electron-userland/electron-builder) to ## For Users -Get the latest [release](https://github.com/jcf94/vizgraph/releases). Unzip and it's tiny but useful. +Get the latest [release](https://github.com/jcf94/vizgraph/releases). -Sorry for only pack for Windows now. +Now we have portable packages for Windows(.exe) and Most Linux Repositories(.AppImage). \ No newline at end of file diff --git a/package.json b/package.json index 620ab97..e3b330e 100644 --- a/package.json +++ b/package.json @@ -33,18 +33,15 @@ "win": { "target": { "target": "portable", - "arch": "ia32" + "arch": ["ia32", "x64"] }, "publisherName": "Jcf94" }, "linux": { - "target": [{ - "target": "deb", - "arch": "ia32" - }, { - "target": "rpm", - "arch": "ia32" - }] + "target": { + "target": "AppImage", + "arch": ["ia32", "x64"] + } } } }