Skip to content

Commit

Permalink
Refactoring + Version Update
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed Jul 19, 2019
1 parent d1482f5 commit aa20d04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Installer Script.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Music Caster"
#define MyAppVersion "2.3.0"
#define MyAppVersion "3.0.0"
#define MyAppPublisher "Elijah Lopez"
#define MyAppURL "https://elijahlopez.herokuapp.com/"
#define MyAppExeName "Music Caster.exe"
Expand Down
7 changes: 3 additions & 4 deletions music_caster.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

mutex = win32event.CreateMutex(None, False, 'name')
last_error = win32api.GetLastError()

if last_error == ERROR_ALREADY_EXISTS: sys.exit() # one instance

CURRENT_VERSION = '3.0.0'
starting_dir = os.path.dirname(os.path.realpath(__file__))
os.chdir('C:/')
PORT = 2001
Expand All @@ -47,10 +47,9 @@
PORT += 1

user32 = ctypes.windll.user32
SCREEN_WIDTH, SCREEN_HEIGHT = user32.GetSystemMetrics(0), user32.GetSystemMetrics(1)
sg.ChangeLookAndFeel('Black')
# SCREEN_WIDTH, SCREEN_HEIGHT = user32.GetSystemMetrics(0), user32.GetSystemMetrics(1)
home_music_dir = str(Path.home()).replace('\\', '/') + '/Music'
CURRENT_VERSION = '2.3.0'

settings = { # default settings
'previous device': None,
'comments': ['Edit only the variables below', 'Restart the program after editing this file!'],
Expand Down

0 comments on commit aa20d04

Please sign in to comment.