Skip to content

Commit

Permalink
Fixed Startup
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed Jul 15, 2019
1 parent 195ad98 commit 40ffc16
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 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 "1.2.0"
#define MyAppVersion "1.2.1"
#define MyAppPublisher "Elijah Lopez"
#define MyAppURL "https://elijahlopez.herokuapp.com/"
#define MyAppExeName "Music Caster.exe"
Expand Down
2 changes: 1 addition & 1 deletion after_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import zipfile

default_settings = {
'version': '1.2.0',
'version': '1.2.1',
'previous device': None,
'comments': ['Edit only the variables below', 'Restart the program after editing this file!'],
'auto update': True,
Expand Down
2 changes: 0 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
REM venv\Scripts\pyinstaller music_caster.spec
REM venv\Scripts\pyinstaller updater.spec
pyinstaller music_caster.spec
pyinstaller updater.spec
python after_build.py
Expand Down
1 change: 1 addition & 0 deletions music_caster.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def save_json():
shell = win32com.client.Dispatch('WScript.Shell')
shortcut = shell.CreateShortCut(shortcut_path)
shortcut.Targetpath = target
shortcut.WorkingDirectory = starting_dir
shortcut.WindowStyle = 1 # 7 - Minimized, 3 - Maximized, 1 - Normal
shortcut.save()
elif not settings['run on startup'] and shortcut_exists:
Expand Down

0 comments on commit 40ffc16

Please sign in to comment.