Skip to content

Commit

Permalink
Version squared up (#33)
Browse files Browse the repository at this point in the history
* Version to v0.3.7-beta

* Version to 0.3.8-beta.

* Get Asher's changes over for debian packaging.

* fixing zip command

* Add some helper scripts to package.json for electron packaging.

* Catch version changes up

* Test dependencies and a little dependency cleanup.

* Synching up on version 0.3.9

* Catch README up too.
  • Loading branch information
DavidLDawes authored and Asherda committed Jul 5, 2018
1 parent c247175 commit 5b0c606
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This project uses [EasyDEX-GUI](https://github.com/VerusCoin/EasyDEX-GUI), a Rea
Check [the VerusCoin github Wiki](https://github.com/VerusCoin/VerusCoin/wiki) for useful information about operating the wallet.
Also [check the Discord commnity](https://discordapp.com/channels/444621794964537354/449633547343495172)

Version 0.3.6-beta release of the Verus enhanced Agama wallet.
Version 0.3.9-beta release of the Verus enhanced Agama wallet.
This version adds portable VerusHash support and better Mac integration. It has been tested against Mac OSX Sierra 10.12.6 and Mac OSX 10.13.5 High Sierra. There are no prerequisites for the Mac now, download the .dmg from the VerusCoin web site, click to mount it, and launch the Agama icon from the mounted drive on your desktop.

#### For Developers
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agama-app",
"productName": "Agama",
"version": "0.3.10",
"version": "0.3.9",
"description": "Agama Wallet Desktop App",
"main": "main.js",
"scripts": {
Expand All @@ -10,8 +10,8 @@
"make-rpm": "node make-rpm.js",
"make-deb": "node make-deb.js",
"test": "mocha",
"package-mac": "electron-packager . agama --platform=darwin --arch=x64 --icon=assets/icons/agama_icons/agama_app_icon.icns --prune=true ---buildVersion=0.3.8-beta --out=build/ --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite",
"package-win": "electron-packager . agama --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/agama_icons/agama_app_icon.ico --out=build/ --buildVersion=0.3.8-beta --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite"
"package-mac": "electron-packager . agama --platform=darwin --arch=x64 --icon=assets/icons/agama_icons/agama_app_icon.icns --prune=true ---buildVersion=0.3.9-beta --out=build/ --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite",
"package-win": "electron-packager . agama --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/agama_icons/agama_app_icon.ico --out=build/ --buildVersion=0.3.9-beta --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite"
},
"repository": "https://github.com/VerusCoin/Agama/",
"homepage": "https://veruscoin.io/",
Expand All @@ -31,7 +31,10 @@
"devDependencies": {
"electron": "2.0.2",
"mocha": "^5.2.0",
"spectron": "^3.8.0"
"spectron": "^3.8.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"jquery": "^3.3.1"
},
"dependencies": {
"adm-zip": "^0.4.7",
Expand All @@ -48,7 +51,6 @@
"body-parser": "^1.15.2",
"buffer-reverse": "^1.0.1",
"coinselect": "github:bitcoinjs/coinselect",
"electron": "^2.0.2",
"electron-installer-debian": "^0.8.1",
"electron-packager": "^12.1.0",
"express": "^4.14.0",
Expand Down
38 changes: 38 additions & 0 deletions test/spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
const Application = require('spectron').Application
const assert = require('assert')
const electronPath = require('electron') // Require Electron from the binaries included in node_modules.
const path = require('path')
describe('Application launch', function () {
this.timeout(30000)

before(function () {
this.app = new Application({
path: electronPath,
// The following line tells spectron to look and use the main.js file
// and the package.json located 1 level above.
args: [path.join(__dirname, '..')]
})
return this.app.start()
})

after(function () {
if (this.app && this.app.isRunning()) {
return this.app.stop()
}
})

it('shows an initial window', function () {
return this.app.client.getWindowCount().then(function (count) {
assert.equal(count, 1)
// Please note that getWindowCount() will return 2 if `dev tools` are opened.
// assert.equal(count, 2)
})
})

it('supports VerusCoin selection', function () {
this.app.client.getText("document.getElementsByClassName('Select-arrow')[1]").then(function (result) {
console.log('The Select-arrow selection returns ' + result)
})
})
})

4 changes: 2 additions & 2 deletions version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=0.3.8
version=0.3.9
type=beta
minversion=0.3.8
minversion=0.3.9
2 changes: 1 addition & 1 deletion version_build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.8-beta
0.3.9-beta

0 comments on commit 5b0c606

Please sign in to comment.