Skip to content

Commit bd92fa9

Browse files
authored
Merge pull request #17 from Adam-Color/Develop
Merge for v1.4.3
2 parents 6cf90d7 + 482a292 commit bd92fa9

File tree

9 files changed

+13
-11
lines changed

9 files changed

+13
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![version](https://img.shields.io/badge/Version-1.4.2-white.svg)
1+
![version](https://img.shields.io/badge/Version-1.4.3-white.svg)
22
![license](https://img.shields.io/badge/License-GPL%20v3-blue.svg)
33
![python](https://img.shields.io/badge/Python-3.12-green.svg)
44

docs/install_macos.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* double-click the .dmg to open it
44
* agree to the [license](../LICENSE.txt)
55
* drag the "AppUsageGUI" folder to the "Applications" folder
6+
* if asked to replace another folder, agree to do so
67

78
## Running on macOS:
89
>[!warning]

installers/macos_installer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# This script is used to create the installer for the macOS version of the application
3-
app_version='1.4.2'
3+
app_version='1.4.3'
44

55
mv dist/AppUsageGUI.app dist/AppUsageGUI/
66

installers/windows_installer.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "AppUsageGUI"
5-
#define MyAppVersion "1.4.2"
5+
#define MyAppVersion "1.4.3"
66
#define MyAppPublisher "Adam Blair-Smith"
77
#define MyAppURL "https://github.com/Adam-Color/AppUsageGUI"
88
#define MyAppExeName "AppUsageGUI.exe"
9-
#define MyInstallerName "AppUsageGUI_v1.4.2_WINDOWS_setup"
9+
#define MyInstallerName "AppUsageGUI_v1.4.3_WINDOWS_setup"
1010

1111
[Setup]
1212
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ PyScreeze==1.0.1
1212
pytweening==1.2.0
1313
rubicon-objc==0.5.0
1414
pyinstaller
15-
requests==2.32.3
15+
requests==2.32.4
1616
pillow==11.2.1

src/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.4.2"
1+
__version__ = "1.4.3"

src/core/logic/user_trackers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, parent, logic_controller):
1515
try:
1616
self.idle_time_limit = read_file(config_file())["mouse_idle_time_limit"]
1717
except (FileNotFoundError, KeyError):
18-
self.idle_time_limit = 300 # Default value
18+
self.idle_time_limit = 90 # Default value
1919
x = 0
2020
y = 0
2121
self.logic = logic_controller
@@ -45,10 +45,10 @@ def _update_mouse_position(self):
4545
self.mouse_position = x, y
4646

4747
# Pause the timer if mouse hasn’t moved
48-
if self.last_mouse_position == self.mouse_position:
48+
if self.last_mouse_position == self.mouse_position and not self.logic.time_tracker.get_is_paused():
4949
self.logic.time_tracker.pause()
5050
self.pausing = True
51-
elif self.pausing:
51+
elif self.pausing and self.last_mouse_position != self.mouse_position:
5252
self.logic.time_tracker.resume()
5353
self.pausing = False
5454

src/core/screens/tracker_settings_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self, parent, controller, logic_controller):
2727

2828
self.settings = {
2929
"mouse_tracker_enabled": False,
30-
"mouse_idle_time_limit": 300
30+
"mouse_idle_time_limit": 90
3131
}
3232

3333
# Read settings file if it exists

src/core/screens/tracker_window.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ def _update_display(self):
102102

103103
if self.logic.mouse_tracker.is_pausing():
104104
self.page_label.config(text="Tracking paused, mouse is idle...")
105-
self.toggle_pause_tracker(button=False)
105+
self.pause_toggle_text.set("Resume")
106106
else:
107107
new_text = f"Tracking the selected app: {self.app}"
108108
if self.page_label["text"] != new_text:
109+
self.pause_toggle_text.set("Pause")
109110
self.page_label.config(text=new_text)
110111

111112
self.update_queue.put((self.TIME_UPDATE, time_text))

0 commit comments

Comments
 (0)