Skip to content

Commit

Permalink
Cleaning 1 (#286)
Browse files Browse the repository at this point in the history
* Cleaning 1

* Cleaning 1

* 1.0.0-alpha.12
  • Loading branch information
buckyroberts authored Sep 15, 2020
1 parent 8f3e88b commit 6a6f9c9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: release
run: npm run release
env:
EP_PRE_RELEASE: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
EP_PRE_RELEASE: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ npm start
To make an executable package:

```
npm run make
npm run build
```

## Contributing
Expand All @@ -55,15 +55,6 @@ You can check your styling by running:
npm run lint
```

## Distribution

Change the `version` field on `package.json`

Alpha | Beta: `X.X.X-alpha.X`, `X.X.X-beta.X`
Stable: `X.X.X`

Tag Name format: `X.X.X-alpha.X`

## License

thenewboston is [MIT licensed](http://opensource.org/licenses/MIT).
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "thenewboston",
"productName": "TNB Account Manager",
"version": "1.0.0-alpha.11",
"description": "Thenewboston Account Manager Electron Application.",
"version": "1.0.0-alpha.12",
"description": "thenewboston Account Manager Electron Application",
"main": "./bundle/main/index.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"build": "yarn package && electron-builder",
"lint": "tsc --noEmit && eslint './src/**/*.{js,ts,tsx}'",
"package": "electron-forge package",
"build": "yarn package && electron-builder",
"release": "yarn package && electron-builder --publish always",
"postinstall": "electron-builder install-app-deps",
"prettier": "prettier --write \"{,!(.webpack|bundle|node_modules|out|release)/**/}*.{ts,tsx,js,json,css,less,scss}\"",
"release": "yarn package && electron-builder --publish always",
"start": "electron-forge start",
"test": "jest"
},
Expand Down
13 changes: 0 additions & 13 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,13 @@
/* eslint-disable @typescript-eslint/no-var-requires */

import {app, BrowserWindow, Menu} from 'electron';
import {autoUpdater} from 'electron-updater';
// const { autoUpdater } = require("electron-updater");
import contextMenu from 'electron-context-menu';
import installExtension, {REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS} from 'electron-devtools-installer';

// No need to use Squirrel on NSIS mode for Windows
// const electronSquirrelStartup = require("electron-squirrel-startup");

declare const MAIN_WINDOW_WEBPACK_ENTRY: string;

const isMac = process.platform === 'darwin';

// Handle creating/removing shortcuts on Windows when installing/uninstalling.
// if (electronSquirrelStartup) {
// app.quit();
// }

// TODO: Autoupdate
autoUpdater.checkForUpdatesAndNotify();

const template = [
...(isMac
? [
Expand Down
2 changes: 1 addition & 1 deletion webpack.rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const rules = [
},
},
{
exclude: /(node_modules|bundle)/,
exclude: /(bundle|node_modules)/,
loaders: [
{
loader: 'babel-loader',
Expand Down

0 comments on commit 6a6f9c9

Please sign in to comment.