diff --git a/.github/img/img1.png b/.github/img/img1.png index f16696d..bb3ecdf 100644 Binary files a/.github/img/img1.png and b/.github/img/img1.png differ diff --git a/.github/img/img2.png b/.github/img/img2.png index d51af2c..6c1d09c 100644 Binary files a/.github/img/img2.png and b/.github/img/img2.png differ diff --git a/README.md b/README.md index d65ba7c..84619d3 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,8 @@ This project was only possible with these awesome technologies ! # Issues -If you find any bugs or issues with this application feel free to report them in the [issue section](https://github.com/alexanderwe/checksum-validator/issues) +If you find any bugs or issues with this application feel free to report them in the [issue section](https://github.com/alexanderwe/checksum-validator/issues). +In case you want to do some local debugging, open the logs via `Help --> Open Logs` and take a look at it. # License diff --git a/app/main/src/TouchBarBuilder.ts b/app/main/src/TouchBarBuilder.ts index 5b9a56e..642fed6 100644 --- a/app/main/src/TouchBarBuilder.ts +++ b/app/main/src/TouchBarBuilder.ts @@ -14,7 +14,7 @@ export default class TouchBarBuilder { public build(): TouchBar { const check: Electron.TouchBarConstructorOptions = { items: [new TouchBarButton({ - backgroundColor: '#00c4a7', + backgroundColor: '#8b4d93', click: () => { this.ipcHandler.initCheck(); }, diff --git a/app/package.json b/app/package.json index 71735e2..b55dfe1 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "checksum-validator", - "version": "0.1.2", + "version": "0.1.3", "description": "Small Electron application to validate checksums.", "main": "main/build/main.js", "author": "Alexander Weiss", diff --git a/app/renderer/src/components/Checksum.component.tsx b/app/renderer/src/components/Checksum.component.tsx index d38eeb3..87d7d01 100644 --- a/app/renderer/src/components/Checksum.component.tsx +++ b/app/renderer/src/components/Checksum.component.tsx @@ -1,6 +1,6 @@ +import { ipcRenderer } from 'electron'; import * as React from 'react'; // ES6 import Transition from 'react-transition-group/Transition'; -const { ipcRenderer } = require('electron'); import Button from './bulma/element/Button.component'; import Icon from './bulma/element/Icon.component'; @@ -119,7 +119,7 @@ class ChecksumValidator extends React.Component { }); } - public closeNotification = () => { + public closeNotification = (): any => { this.setState({ notificationOpen: false, }); @@ -200,7 +200,7 @@ class ChecksumValidator extends React.Component { - diff --git a/app/renderer/src/styles/app.scss b/app/renderer/src/styles/app.scss index 0808099..10a9b87 100644 --- a/app/renderer/src/styles/app.scss +++ b/app/renderer/src/styles/app.scss @@ -2,9 +2,11 @@ @import '../../../node_modules/bulma/sass/utilities/initial-variables'; // Customization -$green: #4da167; -$red: #db473f; -$primary: #08605f; +$green: #62c462; +$red: #ee5f5b; +$yellow: #fff457; +$orange: #f89406; +$primary: #8b4d93; // Base @@ -16,9 +18,8 @@ body { input { -webkit-app-region: no-drag; } - -.error { - color: #fe3b61; +::-webkit-scrollbar { + display: none; } // Layout @@ -32,9 +33,7 @@ input { .notification { border-radius: 0px !important; .delete { - &:hover { - cursor: pointer; - } + cursor: pointer; } } diff --git a/build/icon.icns b/build/icon.icns index 570785a..972c0e4 100644 Binary files a/build/icon.icns and b/build/icon.icns differ diff --git a/build/icon.png b/build/icon.png index d4833f9..61a37bc 100644 Binary files a/build/icon.png and b/build/icon.png differ diff --git a/build/icon.sketch b/build/icon.sketch index 59a57f1..39e3d65 100644 Binary files a/build/icon.sketch and b/build/icon.sketch differ diff --git a/build/icon.svg b/build/icon.svg index a2ffdb1..58bd794 100644 --- a/build/icon.svg +++ b/build/icon.svg @@ -4,9 +4,10 @@ Round Icon Created with Sketch. - + - + + diff --git a/dev-app-update.yml b/dev-app-update.yml deleted file mode 100644 index 68554e8..0000000 --- a/dev-app-update.yml +++ /dev/null @@ -1,3 +0,0 @@ -owner: alexanderwe -repo: checksum-validator -provider: github \ No newline at end of file diff --git a/package.json b/package.json index 8d4cc77..8906f68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "checksum-validator", - "version": "0.1.2", + "version": "0.1.3", "description": "Small Electron application to validate checksum.", "main": "main.js", "scripts": { diff --git a/webpack.config.js b/webpack.config.js index 2f015e3..9b31321 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,15 +1,14 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin'); const DashboardPlugin = require('webpack-dashboard/plugin'); -var CopyWebpackPlugin = require('copy-webpack-plugin'); -var nodeExternals = require('webpack-node-externals'); -var path = require('path'); +const CopyWebpackPlugin = require('copy-webpack-plugin'); +const nodeExternals = require('webpack-node-externals'); +const path = require('path'); -// TODO: check replacement of loader with use -var config = { +let config = { module: {} }; -var rendererConfig = Object.assign({}, config, { +let rendererConfig = Object.assign({}, config, { watch: true, target: 'electron-renderer', entry: './app/renderer/src/entry.tsx', @@ -75,7 +74,7 @@ var rendererConfig = Object.assign({}, config, { ] }); -var mainConfig = Object.assign({}, config, { +let mainConfig = Object.assign({}, config, { entry: './app/main/src/main.ts', target: 'electron-main', node: {