Skip to content

Commit

Permalink
Correct references
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterpeere committed Jan 26, 2024
1 parent 108d280 commit 289804a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion GHEtoolGUI/gui_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions GHEtoolGUI/start_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Binary file modified docs/GHEtool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions docs/sources/gui/gui_exe.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
```

0 comments on commit 289804a

Please sign in to comment.