Skip to content

Commit 8f0b7a6

Browse files
author
Alex Epstein
committed
Getting ready for 1.7.0
1 parent ab5e7ca commit 8f0b7a6

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ git clone https://github.com/alexanderepstein/Sandman
3636
```
3737

3838
Otherwise to just get the application click the link before to head to the latest release page and download your respective platform.
39-
##### [Version 1.6.0 Release](https://github.com/alexanderepstein/Sandman/releases/tag/v1.6.0)
39+
##### [Version 1.7.0 Release](https://github.com/alexanderepstein/Sandman/releases/tag/v1.7.0)
4040

4141

4242
## Install
@@ -54,11 +54,11 @@ sudo apt-get install libappindicator1
5454
then depending on your system architechture either run
5555

5656
```bash
57-
sudo dpkg -i Sandman_1.6.0_amd64.deb
57+
sudo dpkg -i Sandman_1.7.0_amd64.deb
5858
```
5959
Or:
6060
```bash
61-
sudo dpkg -i Sandman_1.6.0_x86.deb
61+
sudo dpkg -i Sandman_1.7.0_x86.deb
6262
```
6363
#### RedHat
6464
```bash

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div>
1717
<hr />
1818
<div class="electron info-other" style="text-align:center">
19-
Sandman Version 1.6.0<br>
19+
Sandman Version 1.7.0<br>
2020
Node.js Version <script>document.write(process.versions.node)</script><br>
2121
Chromium Version <script>document.write(process.versions.chrome)</script><br>
2222
Electron Version <script>document.write(process.versions.electron)</script><br>

js/script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function generateSleepTimes() {
149149

150150

151151
function setTime() { //called when set wakeup time button is pressed
152-
settings.set("Version","v1.6.0");
152+
settings.set("Version","v1.7.0");
153153
//settings.set("lagHours","0");
154154
//settings.set("lagMinutes","15");
155155
time = document.getElementById("alarmTime").value; //grab the wake up time
@@ -192,15 +192,15 @@ function readPreferences()
192192
militaryTime = false; //set the military time perference in the code to false
193193
}
194194
time = settings.get("defaultTime","08:30"); //set time variable
195-
appVersion = settings.get("Version","v1.6.0");
195+
appVersion = settings.get("Version","v1.7.0");
196196
document.getElementById("alarmTime").value = time; //set the time on the DOM
197197
setTime(); //run the main function to generate and show sleep time
198198
return;
199199
}
200200

201201
function loadPreferences()
202202
{
203-
appVersion = settings.get("Version","v1.6.0");
203+
appVersion = settings.get("Version","v1.7.0");
204204
if (settings.get("militaryTime","false") === "true") //mySettings[0] is where the military time setting is stored
205205
{
206206
militaryTime = true; //set prefrence to military time
@@ -308,7 +308,7 @@ function getLatestReleaseInfo() {
308308
var release = json[0].name; //get the newest app version
309309
latestRelease = release;
310310
release = release.split("");
311-
var myversion = settings.get("Version","v1.6.0").split("");
311+
var myversion = settings.get("Version","v1.7.0").split("");
312312

313313
if (release[1] > myversion[1]) //check if it matches current app version
314314
{

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ app.on("ready", function(){
8888
} },
8989
{
9090
label: "Preferences", click: function(){ //shows the about window
91-
pref = new BrowserWindow({width: 500, height:730 , resizable: false});
91+
pref = new BrowserWindow({width: 500, height: 730 , resizable: false});
9292
pref.setMenu(null); //the about window has no menu
9393
pref.loadURL(url.format({ //loads the webpage for the about window
9494
pathname: path.join(__dirname, "preferences.html"),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Sandman",
3-
"version": "1.6.0",
3+
"version": "1.7.0",
44
"license": "MIT",
55
"appCopyright": "Alexander Epstein",
66
"appCategoryType": "Productivity",

settings.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
true Sandman
1+
true Sandman

0 commit comments

Comments
 (0)