diff --git a/app.json b/app.json index 4909209a..e6c1bb34 100644 --- a/app.json +++ b/app.json @@ -254,7 +254,7 @@ * */ "output": { - "base": "${workspace.build.dir}/${build.environment}/${app.name}", + "base": "../rambox-build", "appCache": { "enable": true } diff --git a/package.json b/package.json index e3b0b569..3109f255 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "dev": "electron electron/main.js", "test": "./node_modules/.bin/mocha test/tests/**/*.spec.js", "sencha:clean": "rm -rf ./build/production", - "sencha:compile": "sencha app build && cp app/package.json build/production/Rambox/ && npm --prefix ./build/production/Rambox/ install ./build/production/Rambox/", - "sencha:compile:build": "sencha app build && cp app/package.json build/production/Rambox/ && cp -R build/production/Rambox/* ../rambox-build", + "sencha:compile": "sencha app build && npm --prefix ./build/production/Rambox/ install ./build/production/Rambox/", + "sencha:compile:build": "sencha app build", "clean": "rm -rf ./dist", "clean:osx": "rm -rf ./dist/Rambox-darwin-*", "clean:win": "rm -rf ./dist/Rambox-win32-*",