Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
solvedDev committed Apr 7, 2020
1 parent b867408 commit 6380d8a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bridge",
"version": "1.3.5",
"version": "1.3.0",
"author": "solvedDev <solveddev@gmail.com>",
"description": "A powerful add-on editor",
"license": "GNU",
Expand All @@ -12,8 +12,8 @@
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
"dev": "node .electron-vue/dev-runner.js",
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js --publish=never",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js --publish=never",
"style": "prettier --write --parser typescript \"src/**/*.ts\" && prettier --write \"src/**/*.js\" && prettier --write --parser vue \"src/**/*.vue\""
},
"build": {
Expand Down
5 changes: 5 additions & 0 deletions src/renderer/scripts/Utilities/FetchLatestJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ export default async function fetchLatestJson() {
console.log(
`Running bridge. ${APP_VERSION} | Latest: ${data.tag_name}`
)

// Set interface data
res.latest_version = data.tag_name
res.description = String(data.body)
res.downloads = 0
res.urls = Array<string>()
res.latest_version_name = data.name
res.update_available = VERSION_UTILS.lessThan(
APP_VERSION,
data.tag_name
)

// Count the downloads + push the download url to the interface
for (let asset of data.assets) {
Expand Down
2 changes: 1 addition & 1 deletion src/shared/app_version.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Current bridge. app version
*/
export default 'v1.3.5'
export default 'v1.3.0'

0 comments on commit 6380d8a

Please sign in to comment.