From 8f0b7a697e6734953acb005e62decf061207e80e Mon Sep 17 00:00:00 2001 From: Alex Epstein Date: Thu, 25 May 2017 01:45:55 -0400 Subject: [PATCH] Getting ready for 1.7.0 --- README.md | 6 +++--- about.html | 2 +- js/script.js | 8 ++++---- main.js | 2 +- package.json | 2 +- settings.txt | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index dac0756..e4d0439 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,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.6.0 Release](https://github.com/alexanderepstein/Sandman/releases/tag/v1.6.0) +##### [Version 1.7.0 Release](https://github.com/alexanderepstein/Sandman/releases/tag/v1.7.0) ## Install @@ -54,11 +54,11 @@ sudo apt-get install libappindicator1 then depending on your system architechture either run ```bash -sudo dpkg -i Sandman_1.6.0_amd64.deb +sudo dpkg -i Sandman_1.7.0_amd64.deb ``` Or: ```bash -sudo dpkg -i Sandman_1.6.0_x86.deb +sudo dpkg -i Sandman_1.7.0_x86.deb ``` #### RedHat ```bash diff --git a/about.html b/about.html index 2c9fb2f..15f5040 100644 --- a/about.html +++ b/about.html @@ -16,7 +16,7 @@

- Sandman Version 1.6.0
+ Sandman Version 1.7.0
Node.js Version
Chromium Version
Electron Version
diff --git a/js/script.js b/js/script.js index a5a0244..11c60f8 100644 --- a/js/script.js +++ b/js/script.js @@ -149,7 +149,7 @@ function generateSleepTimes() { function setTime() { //called when set wakeup time button is pressed - settings.set("Version","v1.6.0"); + settings.set("Version","v1.7.0"); //settings.set("lagHours","0"); //settings.set("lagMinutes","15"); time = document.getElementById("alarmTime").value; //grab the wake up time @@ -192,7 +192,7 @@ 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.6.0"); + appVersion = settings.get("Version","v1.7.0"); document.getElementById("alarmTime").value = time; //set the time on the DOM setTime(); //run the main function to generate and show sleep time return; @@ -200,7 +200,7 @@ function readPreferences() function loadPreferences() { - appVersion = settings.get("Version","v1.6.0"); + appVersion = settings.get("Version","v1.7.0"); if (settings.get("militaryTime","false") === "true") //mySettings[0] is where the military time setting is stored { militaryTime = true; //set prefrence to military time @@ -308,7 +308,7 @@ function getLatestReleaseInfo() { var release = json[0].name; //get the newest app version latestRelease = release; release = release.split(""); - var myversion = settings.get("Version","v1.6.0").split(""); + var myversion = settings.get("Version","v1.7.0").split(""); if (release[1] > myversion[1]) //check if it matches current app version { diff --git a/main.js b/main.js index 00cdb27..9cdaf50 100644 --- a/main.js +++ b/main.js @@ -88,7 +88,7 @@ app.on("ready", function(){ } }, { label: "Preferences", click: function(){ //shows the about window - pref = new BrowserWindow({width: 500, height:730 , resizable: false}); + pref = new BrowserWindow({width: 500, height: 730 , resizable: false}); pref.setMenu(null); //the about window has no menu pref.loadURL(url.format({ //loads the webpage for the about window pathname: path.join(__dirname, "preferences.html"), diff --git a/package.json b/package.json index aac56f3..8596ad3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Sandman", - "version": "1.6.0", + "version": "1.7.0", "license": "MIT", "appCopyright": "Alexander Epstein", "appCategoryType": "Productivity", diff --git a/settings.txt b/settings.txt index ed7cc93..65def86 100755 --- a/settings.txt +++ b/settings.txt @@ -1 +1 @@ -true Sandman \ No newline at end of file +true Sandman