mirror of
https://github.com/pavlobu/deskreen.git
synced 2025-05-16 23:40:15 -07:00
Release v1.0.0
This commit is contained in:
parent
b8f6d578d9
commit
ad20745d58
@ -74,6 +74,15 @@ create two separate projects in SonarCube panel.
|
||||
First project for host app, and second project for client viewer app.
|
||||
TODO: add how to get started with local SonarCube for Deskreen in details.
|
||||
|
||||
## Note on versioning:
|
||||
|
||||
- All versions git tags should start with `v` ex. `v1.0.0`
|
||||
- Before making a new release with `git push <version-tagname>` set version
|
||||
to `<version-tagname>` ! without `v` in the beginning! (ex. `1.0.0` -- not start with `v`) in these three files:
|
||||
- `package.json` -- in `version` key ex. `1.0.0`
|
||||
- `app/package.json` -- in `version` key ex. `1.0.0`
|
||||
- `app/package-lock.json` -- in `version` key ex. `1.0.0`
|
||||
|
||||
## Maintainer
|
||||
|
||||
- [Pavlo (Paul) Buidenkov](https://www.linkedin.com/in/pavlobu)
|
||||
|
@ -377,7 +377,7 @@ export default function SettingsOverlay(props: SettingsOverlayProps) {
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
shell.openExternal(
|
||||
'https://github.com/pavlobu/deskreen/releases/'
|
||||
'https://github.com/pavlobu/deskreen/releases/latest'
|
||||
);
|
||||
}}
|
||||
>
|
||||
|
@ -63,13 +63,15 @@ export default class DeskreenApp {
|
||||
const showNotification = () => {
|
||||
const notification = {
|
||||
title: 'Deskreen Update is Available!',
|
||||
body: `Your current version is ${this.appVersion} Click to download new 1.0.1 updated version.`,
|
||||
body: `Your current version is ${this.appVersion} Click to download new ${this.latestVersion} updated version.`,
|
||||
};
|
||||
const notificationInstance = new Notification(notification);
|
||||
notificationInstance.show();
|
||||
notificationInstance.on('click', (event) => {
|
||||
event.preventDefault(); // prevent the browser from focusing the Notification's tab
|
||||
shell.openExternal('https://github.com/pavlobu/deskreen/releases/');
|
||||
shell.openExternal(
|
||||
'https://github.com/pavlobu/deskreen/releases/latest'
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
|
2
app/package-lock.json
generated
2
app/package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "deskreen",
|
||||
"version": "1.0.0-alfa-beta",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "deskreen",
|
||||
"productName": "deskreen",
|
||||
"version": "1.0.0-alfa-beta",
|
||||
"version": "1.0.0",
|
||||
"description": "Deskreen makes any device a second screen for your computer",
|
||||
"main": "./main.prod.js",
|
||||
"author": {
|
||||
|
@ -2,7 +2,7 @@
|
||||
import axios from 'axios';
|
||||
|
||||
const githubApiRepoTagsUrl =
|
||||
'https://api.github.com/repos/pavlobu/circleCInodeapp/tags';
|
||||
'https://api.github.com/repos/pavlobu/deskreen/tags';
|
||||
|
||||
export default async function getNewVersionTag() {
|
||||
let latestVersionTag = '';
|
||||
@ -18,6 +18,7 @@ export default async function getNewVersionTag() {
|
||||
});
|
||||
|
||||
latestVersionTag = foundTag ? foundTag.name : '';
|
||||
latestVersionTag = latestVersionTag.slice(1);
|
||||
|
||||
return latestVersionTag;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "deskreen",
|
||||
"productName": "Deskreen",
|
||||
"version": "1.0.0-alfa-beta",
|
||||
"version": "1.0.0",
|
||||
"description": "Deskreen makes any device a second screen for your computer",
|
||||
"scripts": {
|
||||
"build": "yarn build-main && yarn build-renderer && yarn build-client",
|
||||
|
Loading…
x
Reference in New Issue
Block a user