Skip to content

Commit

Permalink
Added menu option to open program folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nimaid committed Nov 28, 2019
1 parent 1fb81e1 commit c58ddd0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1
0.1.3
2 changes: 1 addition & 1 deletion install/windows/windows.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 "LPHK"
#define MyAppVersion "b0.1.2"
#define MyAppVersion "b0.1.3"
#define MyAppPublisher "Ella Jameson (nimaid)"
#define MyAppURL "https://github.com/nimaid/LPHK"
#define MyAppExeName "run.bat"
Expand Down
3 changes: 1 addition & 2 deletions run.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@echo off
set STARTPATH="%CD%"
cd "%~dp0"
conda activate LPHK & python LPHK.py & conda deactivate
cd %STARTPATH%
conda activate LPHK & python LPHK.py & conda deactivate & cd %STARTPATH%
2 changes: 2 additions & 0 deletions window.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def init_window(self):
self.m_Help.add_command(label="Open README...", command=open_readme)
open_scripting = lambda: webbrowser.open("https://github.com/nimaid/LPHK#what-is-lphkscript-table-of-contents")
self.m_Help.add_command(label="Scripting help...", command=open_scripting)
open_main_folder = lambda: files.open_file_folder(PATH)
self.m_Help.add_command(label="Program folder...", command=open_main_folder)
display_info = lambda: self.popup(self, "About LPHK", self.info_image, "A Novation Launchpad Macro Scripting System\nMade by Ella Jameson (nimaid)\n\nVersion: " + files.PROG_VERSION + "\nFile format version: " + files.FILE_VERSION, "Done")
self.m_Help.add_command(label="About LPHK", command=display_info)
self.m.add_cascade(label="Help", menu=self.m_Help)
Expand Down

0 comments on commit c58ddd0

Please sign in to comment.