Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Commit

Permalink
Release 1.1.2
Browse files Browse the repository at this point in the history
- Add auto updater again
  • Loading branch information
mskims committed Jun 23, 2018
1 parent 48ba57b commit 525287c
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 42 deletions.
4 changes: 4 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ mac:
target: dmg
icon: assets/icon.png
category: public.app-category.music

publish:
provider: github

78 changes: 42 additions & 36 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "genie-music-player",
"version": "1.1.0",
"version": "1.1.2",
"description": "Native genie music player on OS X",
"main": "build/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "standard --fix",
"dev": "electron .",
"pack": "npm run pack:clean && npm run pack:compile && npm run pack:pkg",
"pack": "npm run pack:clean && npm run pack:compile && build",
"pack:clean": "rm -rf dist/ build/",
"pack:compile": "babel src/ --copy-files --out-dir build",
"pack:pkg": "electron-builder"
"release": "npm run pack:clean && npm run pack:compile && npm run release:pkg",
"release:pkg": "build --publish=always"
},
"repository": {
"type": "git",
Expand All @@ -24,6 +25,7 @@
"homepage": "https://github.com/mskims/genie-music-player#readme",
"dependencies": {
"jquery": "^3.3.1",
"electron-updater": "^2.21.10",
"@babel/runtime": "^7.0.0-beta.51",
"genie-music": "^1.1.1",
"keytar": "^4.2.1"
Expand Down
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ import * as LoginWindowHelper from './windows/login'

import * as features from './main/features'


import { autoUpdater } from 'electron-updater'

// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on('ready', () => {
autoUpdater.checkForUpdatesAndNotify()

features.initialize()
LoginWindowHelper.create()
PlayerWindowHelper.create()
Expand Down
4 changes: 2 additions & 2 deletions src/windows/login/renderer/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="ko">

<head>
<title>Genie v1.1.0</title>
<title>Genie v1.1.2</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/util.css">
Expand All @@ -13,7 +13,7 @@
<div class="container-login100">
<form class="login100-form validate-form" id="login-form" method="POST">
<span class="login100-form-title p-b-30">
Genie v1.1.0
Genie v1.1.2
</span>

<div class="wrap-input100 validate-input">
Expand Down

0 comments on commit 525287c

Please sign in to comment.