Dan Albert 5ee3afeddb Disconnect log signals on exit.
If we don't do this, the uvicorn server may log its shutdown after the
Qt application has closed, and the signal this attempts to emit may not
be valid. Disconnect the log signals when the application exits to
prevent that.

There's actually another solution that I thought would be better, but I
couldn't get it to work:
https://www.pyinstaller.org/en/stable/feature-notes.html#automatic-hiding-and-minimization-of-console-window-under-windows
describes a way to have pyinstaller hide or minimize the console rather
than disabling it entirely. I was never really fond of getting rid of
the console window in the first place, but it did bother some users. If
we could get the hide or minimize option working, that'd probably avoid
bothering users, but also make the logs much easier to find, get us out
of the trouble of maintaining our own log viewer, and fix the problem
mentioned in the comment I add here (the log window only works if
there's only one in memory log handler).

Another option would be ditching our log window and instead just having
that menu item open the log file or directory in whatever program the OS
defaults to (probably notepad). It would still have the quirk of maybe
needing to open more than one location, since logging is use
configurable.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3278.
2023-12-02 15:59:00 -08:00
2023-12-02 15:01:07 -08:00
2022-05-12 16:21:12 +02:00
2023-11-10 19:15:41 -08:00
2023-12-02 12:25:01 -08:00
2023-12-02 15:59:00 -08:00
2023-12-01 16:14:54 -08:00
2023-06-06 03:12:49 +00:00
2023-11-30 21:10:14 -08:00
2020-12-19 20:57:55 +01:00
2020-12-19 11:56:13 -08:00
2023-06-15 23:54:19 -07:00
2023-12-02 15:01:07 -08:00

Logo

(Github Readme Banner and Splash screen Artwork by Andriy Dankovych, CC BY-SA 4.0)

Patreon

Download

Discord

codecov GitHub pull requests GitHub issues GitHub stars

About DCS Liberation

DCS Liberation is a DCS World turn based single-player or co-op dynamic campaign. It is an external program that generates full and complex DCS missions and manage a persistent combat environment.

Note that DCS Liberation does not support the stable release of DCS. We can only guarantee compatibility with either the open beta or the stable release, and more people play the open beta. DCS stable might work sometimes, but it's untested, and we will be unable to fix any bugs unique to stable DCS.

Screenshot

Downloads

Latest release is available here : https://github.com/dcs-liberation/dcs_liberation/releases

To download preview builds of the next version of DCS Liberation, see https://github.com/dcs-liberation/dcs_liberation/wiki/Preview-builds.

DCS bugs

These DCS bugs prevent us from improving AI behavior. Please upvote them! (But please don't spam them with comments):

Bugs and feature requests

If you need to report a bug or want to suggest a new feature, you can do this on our bug tracker. In either case, please use the search bar at the top of the page to see if it has already been reported. Note that you may need to remove the filter for open bugs if it's something we've recently fixed.

Roadmap

Our plans for future releases can be found on our Projects page. Each planned release has a Project, and the page for that project has columns for to do, in progress, and done. Items in the Done column are in the preview build for that release. Items in the To do column are planned to be added to that release.

Resources

Tutorials, contributors and developer's guides are available in the project's Wiki

Special Thanks

First, a big thanks to shdwp, for starting the original DCS Liberation project.

Then, DCS Liberation uses pydcs for mission generation, and nothing would be possible without this. It also uses the popular Mist lua framework for mission scripting.

Excellent lua scripts DCS Liberation uses as plugins:

  • For the JTAC feature, DCS Liberation embeds Ciribob's JTAC Autolase script.
  • Walder's Skynet-IADS is used for Integrated Air Defense System.

Please also show some support to these projects !

Description
DCS World dynamic campaign.
Readme 273 MiB
Languages
Python 62.4%
Lua 32.8%
TypeScript 3.7%
Jinja 0.6%
CSS 0.4%