Skip to content

Commit

Permalink
Getting ready for 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Epstein committed May 25, 2017
1 parent ab5e7ca commit 8f0b7a6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
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.6.0<br>
Sandman Version 1.7.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 @@ -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
Expand Down Expand Up @@ -192,15 +192,15 @@ 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;
}

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
Expand Down Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
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.6.0",
"version": "1.7.0",
"license": "MIT",
"appCopyright": "Alexander Epstein",
"appCategoryType": "Productivity",
Expand Down
2 changes: 1 addition & 1 deletion settings.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
true Sandman
true Sandman

0 comments on commit 8f0b7a6

Please sign in to comment.