Automatically compile the project when it is opened if it has never been compiled.

[DEVELOPMENT ENVIRONMENT]
* NEW: Automatically compile the project when it is opened if it has never been compiled.
This commit is contained in:
Benoît Minisini 2023-07-28 00:07:46 +02:00
parent dfbbebe050
commit 8028545612

View file

@ -878,13 +878,16 @@ _INIT_AGAIN:
Endif
If Not IsFake() And If Settings["/RestoreFiles", 1] Then LoadLastOpenedFiles
GoSub _STOP_CONVERT
If Not IsFake() Then
If Not IsDir(Project.Dir &/ ".gambas") Or If Dir(Project.Dir &/ ".gambas").Count = 0 Then Compile(True)
If Settings["/RestoreFiles", 1] Then LoadLastOpenedFiles
Endif
RecentFiles = New String[]
CPosition.Clear
GoSub _STOP_CONVERT
If ReadOnly Then
FMain.ShowWarning(("This project is read-only."))
Else