Skip to content

Commit 32d18e1

Browse files
authored
Merge pull request #9 from Adam-Color/Develop
V1.1.4
2 parents 2266f76 + e6194ec commit 32d18e1

16 files changed

Lines changed: 75 additions & 791 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 93 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 674 deletions
This file was deleted.

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from src._version import __version__
66

77
# Project details
8-
PROJECT_NAME = f"AppUsageGUI-v{__version__}"
8+
PROJECT_NAME = "AppUsageGUI"
99
ENTRY_POINT = "src/main.py"
1010
BUILD_DIR = "build"
1111
DIST_DIR = "dist"

installer/windows_installer.iss

Lines changed: 3 additions & 3 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.0.5"
5+
#define MyAppVersion "1.1.4"
66
#define MyAppPublisher "Adam Blair-Smith"
77
#define MyAppURL "https://github.com/Adam-Color/AppUsageGUI"
8-
#define MyAppExeName "AppUsageGUI-v1.0.5.exe"
9-
#define MyInstallerName "AppUsageGUI_v1.0.5_WINDOWS_setup"
8+
#define MyAppExeName "AppUsageGUI.exe"
9+
#define MyInstallerName "AppUsageGUI_v1.1.4_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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ PyScreeze==1.0.1
1212
pytweening==1.2.0
1313
rubicon-objc==0.5.0
1414
pyinstaller
15+
requests

src/_version.py

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

src/core/gui_root.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,39 +46,30 @@ def show_frame(self, page_name):
4646
frame = self.frames[page_name]
4747
frame.tkraise()
4848

49-
#FIXME: thread duplication in update_total_time
5049
def reset_frames(self):
51-
print("Resetting frames...") #! Debugging prints
52-
5350
try:
5451
# Stop trackers
5552
if self.logic_controller.app_tracker:
56-
print("Stopping AppTracker...")
5753
self.logic_controller.app_tracker.reset()
5854

5955
if self.logic_controller.time_tracker:
60-
print("Stopping TimeTracker...")
6156
self.logic_controller.time_tracker.reset()
6257

6358
if self.logic_controller.mouse_tracker:
64-
print("Stopping MouseTracker...")
6559
self.logic_controller.mouse_tracker.stop()
6660

6761
# Stop GUI threads
6862
for frame_name, frame in self.frames.items():
6963
if hasattr(frame, "stop_threads"):
70-
print(f"Stopping threads for {frame_name}...")
7164
frame.stop_threads()
7265

7366
# Destroy frames
7467
for frame_name, frame in self.frames.items():
75-
print(f"Destroying frame {frame_name}...")
7668
frame.destroy()
7769

7870
self.frames = {}
7971

8072
# Reinitialize screens
81-
print("Reinitializing screens...")
8273
self.init_screens()
8374

8475
except Exception as e:

src/core/logic/file_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def load_session_data(self, filename):
5656
self.data = None
5757
except _pickle.UnpicklingError as e:
5858
self.corrupt_sessions.append((filename, "Data is corrupt"))
59-
print(filename + ": " + str(e))
6059
self.data = None
6160
else:
6261
self.corrupt_sessions.append((filename, "No hash file found"))
-6.96 KB
Binary file not shown.

src/core/screens/create_session_window.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ def on_confirm(self):
3232
def session_save(self, session_name):
3333
self.logic_controller.file_handler.set_file_name(session_name)
3434
session_time = self.logic_controller.time_tracker.get_time(saved=True)
35-
print("Session time: ", session_time) #!
3635
session_app_name = self.logic_controller.app_tracker.get_selected_app()
37-
print("Session_app_name: ", session_app_name) #!
3836

3937
data = {'app_name': session_app_name, 'time_spent': session_time}
4038

0 commit comments

Comments
 (0)