Skip to content

Commit

Permalink
Getting ready for 1.5.0
Browse files Browse the repository at this point in the history
Former-commit-id: 88f04ef
Former-commit-id: 02ec342
  • Loading branch information
Alex Epstein committed May 10, 2017
1 parent 4d04f74 commit 09cd2bf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ git clone https://github.com/alexanderepstein/Sandman
```

Otherwise to just get the application click the link before to head to the latest release page and download your respective platform.
##### [Version 1.4.3 Release](https://github.com/alexanderepstein/Sandman/releases/tag/v1.4.3)
##### [Version 1.5.0 Release](https://github.com/alexanderepstein/Sandman/releases/tag/v1.5.0)


## Install
Expand All @@ -52,11 +52,11 @@ sudo apt-get install libappindicator1
then depending on your system architechture either run

```bash
sudo dpkg -i Sandman_1.4.3_amd64.deb
sudo dpkg -i Sandman_1.5.0_amd64.deb
```
Or:
```bash
sudo dpkg -i Sandman_1.4.3_x86.deb
sudo dpkg -i Sandman_1.5.0_x86.deb
```
#### RedHat
```bash
Expand Down
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div>
<hr />
<div class="electron info-other" style="text-align:center">
Sandman Version 1.4.3<br>
Sandman Version 1.5.0<br>
Node.js Version <script>document.write(process.versions.node)</script><br>
Chromium Version <script>document.write(process.versions.chrome)</script><br>
Electron Version <script>document.write(process.versions.electron)</script><br>
Expand Down
8 changes: 4 additions & 4 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var upTimeJob = null;
var resetTime = null;

function setTime() { //called when set wakeup time button is pressed
settings.set('Version','v1.4.3')
settings.set('Version','v1.5.0')
time = document.getElementById('alarmTime').value; //grab the wake up time
generateSleepTimes(); //determine sleepTimes based off of wakeuptime
setSleepTimes(); //determine the sleepTimes in formatted form to be shown to user
Expand Down Expand Up @@ -64,14 +64,14 @@ function readPreferences()
militaryTime = false; //set the military time perference in the code to false
}
time = settings.get('defaultTime','08:30'); //set time variable
appVersion = settings.get('Version','v1.4.3');
appVersion = settings.get('Version','v1.5.0');
document.getElementById('alarmTime').value = time; //set the time on the DOM
setTime(); //run the main function to generate and show sleep time
}

function loadPreferences()
{
appVersion = settings.get('Version','v1.4.3');
appVersion = settings.get('Version','v1.5.0');
if (settings.get('militaryTime','false') === "true") //mySettings[0] is where the military time setting is stored
{
militaryTime = true; //set prefrence to military time
Expand Down Expand Up @@ -259,7 +259,7 @@ function getLatestReleaseInfo() {
var release = json[0].name; //get the newest app version
latestRelease = release;
release = release.split("");
var myversion = settings.get('Version','v1.4.3').split("");
var myversion = settings.get('Version','v1.5.0').split("");

if (release[1] > myversion[1]) //check if it matches current app version
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Sandman",
"version": "1.4.3",
"version": "1.5.0",
"license": "MIT",
"appCopyright": "Alexander Epstein",
"appCategoryType": "Productivity",
Expand Down

0 comments on commit 09cd2bf

Please sign in to comment.