Skip to content

Commit

Permalink
auto update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
yadPe committed Aug 9, 2019
1 parent 14ebbc6 commit 9c03e85
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 1,299 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Beatconnect client

This App gives you access to all the beatmaps mirrored on [Beatconect](https://beatconnect.io). You can downloads multiple beatmaps that will be automaticaly imported into osu! </br>
Plus, you can launch an IRC bot from the app that will make all available commands usable to peoples pming you and from all the matches chats that the bot is connected to. (how to connect docs soon..)
This App gives you access to all the beatmaps mirrored on [Beatconnect](https://beatconnect.io). You can downloads multiple beatmaps that will be automaticaly imported into osu! </br>
Plus, you can launch an IRC bot from the app that will make all [available commands](./doc/commands.md) usable to peoples pming you and from all the matches chats that the bot is connected to. (how to connect docs soon..)

<img src="https://cdn.discordapp.com/attachments/414474227710820352/606134985971204096/unknown.png">

Expand Down
53 changes: 19 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "beatconnect_client",
"productName": "Beatconnect Client",
"version": "0.1.3",
"description": "Beatconnect power for osu irc",
"author": "yadpe <petitot.py@gmail.com>",
Expand All @@ -11,8 +12,10 @@
"build": "node scripts/build.js",
"test": "node scripts/test.js",
"go": "electron .",
"dist": "npm run build && npx electron-builder build",
"gh-publish": "npm run build && npx electron-builder build -p",
"dist": "npm run build && npx npx electron-builder --win --linux --ia32",
"dist-win": "npm run build && npx electron-builder build --win --ia32",
"dist-linux": "npm run build && npx electron-builder build --linux --ia32",
"gh-publish": "npm run build && npx electron-builder build -p onTag",
"electron-dev": "set ELECTRON_START_URL=http://localhost:3000 && electron ."
},
"eslintConfig": {
Expand All @@ -29,8 +32,7 @@
"url": "https://github.com/yadPe/beatconnect_client/issues"
},
"build": {
"appId": "io.beatconnect.bot",
"productName": "Beatconnect Client",
"appId": "io.beatconnect.client",
"files": [
"build/**/*",
"node_modules/**/*"
Expand Down Expand Up @@ -65,7 +67,8 @@
},
"win": {
"target": "NSIS",
"icon": "public/favicon.ico"
"icon": "public/favicon.ico",
"publish": "github"
}
},
"dependencies": {
Expand All @@ -85,6 +88,7 @@
"dotenv-expand": "4.2.0",
"electron-download-manager": "^2.1.2",
"electron-is-dev": "^1.1.0",
"electron-log": "^3.0.7",
"eslint": "^5.16.0",
"eslint-config-react-app": "^4.0.1",
"eslint-loader": "2.1.2",
Expand Down
1 change: 1 addition & 0 deletions public/Window.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { BrowserWindow } = require('electron')

// default window settings
const defaultProps = {
icon: path.join(__dirname, '/icon.png'),
width: 1200,
height: 750,
minHeight: 350,
Expand Down
5 changes: 4 additions & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ const Window = require('./Window');
const path = require('path')
const url = require('url')
const isDev = require('electron-is-dev');
require('update-electron-app')()
require('update-electron-app')({
repo: 'yadPe/beatconnect_client.git',
logger: require('electron-log')
})

const DownloadManager = require("electron-download-manager");

Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
Binary file modified public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9c03e85

Please sign in to comment.