Skip to content

Commit

Permalink
SaladBowl 2.0 - ELectron Edition (#217)
Browse files Browse the repository at this point in the history
* Added electron-webpack to enable debugging of desktop-app


Trimmed down machine info only to required data


Initial version of electron salad bowl


Added sentry to desktop-app

* Fixed build issues when removing lerna
  • Loading branch information
dsarfati authored Nov 1, 2019
1 parent b12173e commit b46b60b
Show file tree
Hide file tree
Showing 87 changed files with 10,833 additions and 19,135 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ packages/desktop-app/dist/main\.js
**/release/*

packages/desktop-app/yarn-error\.log

packages/desktop-app/dist/main/
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
},
{
"type": "node",
"request": "launch",
"name": "Debug Desktop App",
"runtimeExecutable": "yarn",
"runtimeArgs": ["start"],
"autoAttachChildProcesses": true,
"internalConsoleOptions": "openOnFirstSessionStart",
"console": "integratedTerminal",
"cwd": "${workspaceRoot}/packages/desktop-app"
}
]
}
6 changes: 0 additions & 6 deletions lerna.json

This file was deleted.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"name": "@saladtech/salad-applications",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build",
Expand Down
30 changes: 0 additions & 30 deletions packages/desktop-app/dist/online-status.html

This file was deleted.

Binary file removed packages/desktop-app/dist/salad-bowl/SaladBowl.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/desktop-app/electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"runAfterFinish": true,
"allowToChangeInstallationDirectory": "true"
},
"files": ["assets/*", "dist/*"],
"files": ["assets/*", "dist/main/*"],
"win": {
"icon": "assets/favicon.ico",
"target": ["nsis"],
"sign": "./sign.js",
"extraFiles": ["assets/*", "dist/salad-bowl"],
"extraFiles": ["assets/*"],
"publish": {
"provider": "s3",
"bucket": "salad-app-releases"
Expand Down
47 changes: 33 additions & 14 deletions packages/desktop-app/package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,58 @@
{
"name": "salad",
"version": "0.3.2",
"version": "0.3.3",
"description": "Salad Technologies Desktop Application",
"author": "Salad Technologies <[email protected]>",
"homepage": "https://www.salad.io/",
"license": "MIT",
"main": "dist/main.js",
"main": "dist/main/main.js",
"files": [
"lib"
],
"scripts": {
"start": "yarn build && electron ./dist/main.js",
"build": "webpack --config webpack.config.js",
"start": "electron-webpack dev",
"build": "electron-webpack",
"dist": "yarn build && electron-builder",
"release": "yarn build && electron-builder --publish always"
},
"electronWebpack": {
"title": true,
"staticSourceDirectory": "static",
"main": {
"extraEntries": [
"@/preload.js"
],
"sourceDirectory": "src"
},
"renderer": {
"sourceDirectory": null
}
},
"devDependencies": {
"@types/electron": "^1.6.10",
"@types/node": "^11.11.5",
"electron": "^4.1.1",
"electron-builder": "^20.39.0",
"electron-reload": "^1.4.0",
"ts-loader": "^5.3.3",
"tslint": "^5.14.0",
"@types/node": "^12.12.3",
"electron": "^7.0.0",
"electron-builder": "^22.1.0",
"electron-reload": "^1.5.0",
"electron-webpack": "^2.7.4",
"electron-webpack-ts": "^3.2.0",
"ts-loader": "^6.2.1",
"tslint": "^5.20.0",
"tslint-config-standard": "^8.0.1",
"tslint-loader": "^3.5.4",
"typescript": "^3.3.4000",
"webpack": "^4.29.6",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.0"
},
"dependencies": {
"@sentry/electron": "0.17.4",
"auto-launch": "^5.0.5",
"electron-log": "^3.0.5",
"electron-updater": "^4.0.6",
"axios": "^0.19.0",
"decompress-zip": "^0.2.2",
"electron-log": "^3.0.8",
"electron-updater": "^4.2.0",
"is-online": "^8.2.0",
"systeminformation": "^4.14.4"
"source-map-support": "^0.5.16",
"systeminformation": "^4.14.17"
}
}
67 changes: 0 additions & 67 deletions packages/desktop-app/src/LogScraper.ts

This file was deleted.

64 changes: 0 additions & 64 deletions packages/desktop-app/src/SaladBowl.ts

This file was deleted.

Loading

0 comments on commit b46b60b

Please sign in to comment.