diff --git a/.gitignore b/.gitignore index 67756f44..c8f6bd23 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -/dist/electron -/dist/phonegap -/dist/phonegap.zip \ No newline at end of file +/dist/desktop-builds \ No newline at end of file diff --git a/icon-final.ico b/icon-final.ico new file mode 100644 index 00000000..c2c10bb4 Binary files /dev/null and b/icon-final.ico differ diff --git a/icon-final.png b/icon-final.png new file mode 100644 index 00000000..7555f226 Binary files /dev/null and b/icon-final.png differ diff --git a/icon.png b/icon.png deleted file mode 100644 index 81f60b7a..00000000 Binary files a/icon.png and /dev/null differ diff --git a/package.json b/package.json index f112d517..d0bfcb83 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,7 @@ "serve": "bash scripts/serve.sh", "dev": "bash scripts/build-development.sh", "upload": "bash scripts/deploy.sh", - "deploy": "yarn run prod && yarn run upload" + "deploy": "yarn run prod && yarn run upload", + "build-desktop": "bash scripts/build.sh" } } diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100644 index 00000000..b125f25e --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,2 @@ +nativefier --name "apexo" --platform osx --conceal --icon icon-final.png --min-width 450px --min-height 600px --disable-dev-tools "https://web.apexo.app" ./dist/desktop-builds/ +nativefier --name "apexo" --platform windows --icon icon-final.ico --min-width 450px --min-height 600px --disable-dev-tools "https://web.apexo.app" ./dist/desktop-builds/ \ No newline at end of file