diff --git a/GHEtoolGUI/gui_config.ini b/GHEtoolGUI/gui_config.ini index e1e1b57..76002da 100644 --- a/GHEtoolGUI/gui_config.ini +++ b/GHEtoolGUI/gui_config.ini @@ -9,7 +9,7 @@ BLACK: rgb(0, 0, 0) [DEFAULT] FILE_EXTENSION: GHEtool -GUI_NAME: GHEtool Community +GUI_NAME: GHEtool OS ICON_NAME: icon_squared_07.svg PATH_2_ICONS: ./GHEtoolGUI/ FONT_WINDOWS: Arial diff --git a/GHEtoolGUI/start_gui.py b/GHEtoolGUI/start_gui.py index 18ccaca..6c0a04f 100644 --- a/GHEtoolGUI/start_gui.py +++ b/GHEtoolGUI/start_gui.py @@ -28,10 +28,10 @@ def run(path_list=None): # pragma: no cover from PySide6.QtWidgets import QApplication as QtWidgets_QApplication from PySide6.QtWidgets import QMainWindow as QtWidgets_QMainWindow from GHEtool import Borefield - from data_2_borefield_func import data_2_borefield - from gui_classes.translation_class import Translations - from gui_structure import GUI - from gui_classes.gui_combine_window import MainWindow + from GHEtoolGUI.data_2_borefield_func import data_2_borefield + from GHEtoolGUI.gui_classes.translation_class import Translations + from GHEtoolGUI.gui_structure import GUI + from GHEtoolGUI.gui_classes.gui_combine_window import MainWindow import ScenarioGUI.global_settings as globs if is_frozen: diff --git a/docs/GHEtool.png b/docs/GHEtool.png index 7825b7d..793120f 100644 Binary files a/docs/GHEtool.png and b/docs/GHEtool.png differ diff --git a/docs/sources/gui/gui_exe.md b/docs/sources/gui/gui_exe.md index f1aeba0..fca5c96 100644 --- a/docs/sources/gui/gui_exe.md +++ b/docs/sources/gui/gui_exe.md @@ -40,16 +40,16 @@ python -m pip install PyInstaller The exe-folder can be created using [PyInstaller](https://pyinstaller.org/en/stable/). The following line will create a windowed version of the executable. ``` -python -m PyInstaller "./GHEtool/gui/GHEtool.spec" --noconfirm +python -m PyInstaller "./GHEtoolGUI/GHEtool.spec" --noconfirm ``` The following line will create a version which also displays a windows console with error messages of the executable. ``` -python -m PyInstaller "./GHEtool/gui/GHEtool_with_command_line.spec" --noconfirm +python -m PyInstaller "./GHEtoolGUI/GHEtool_with_command_line.spec" --noconfirm ``` ## Create GHEtools installable using InnoSetup -The setup *.exe can be created using the *.iss files in the GHEtool/gui folder. Therefore, the LinkToGHEtool (line 4) has to be changed to the current one. +The setup *.exe can be created using the *.iss files in the GHEtoolGUI/gui folder. Therefore, the LinkToGHEtool (line 4) has to be changed to the current one. Afterwards [InnoSetup](http://www.innosetup.org/) can use the *.iss file to create the setup *.exe file. The "Inno_setup_console.iss" file is creating a setup for a GHEtool implementation with a windows console and "Inno_setup_windowed.iss" a normal version. @@ -58,12 +58,12 @@ The "Inno_setup_console.iss" file is creating a setup for a GHEtool implementati Follow the steps as before but run the following pyinstaller command instead. The InnoSetup step is skipped as well. ``` -python -m PyInstaller "./GHEtool/gui/GHEtool_mac.spec" --noconfirm +python -m PyInstaller "./GHEtoolGUI/GHEtool_mac.spec" --noconfirm ``` Instead of the InnoSetup step the dmgbuild package can be used by installing it using pip ("pip install dmgbuild") And afterwards running the following command: ``` -python -m dmgbuild -s ./GHEtool/gui/mac_settings.py "GHEtool" GHEtool.dmg +python -m dmgbuild -s ./GHEtoolGUI/mac_settings.py "GHEtool" GHEtool.dmg ``` \ No newline at end of file