Commit Graph

30 Commits

Author SHA1 Message Date
Gustas
64b2bd4735 Update to HTTPS 2024-06-03 10:25:06 +02:00
Unrud
946cd8f322 Scripts: Set errexit to catch errors 2022-09-18 10:30:58 +02:00
Unrud
ea02b90636 Scripts: Quote path variables 2022-09-18 10:30:58 +02:00
Unrud
678f249c63 Scripts: Disable markup in error messages
Error messages are displayed using the following methods:

* **zenity** parses pango markup and replaces escaped characters
* **kdialog** replaces (some) escaped characters
* **gtk-dialog.py** replaces `\n`
* **printf** interprets format strings and replaces escaped characters
* **echo** just displays the text

The error messages themself contain escaped characters and paths from variables.

This PR unifies the behavior by:

* Use **printf** to format error messages and replace escaped characters
* Setting `--no-markup` for **zenity** to disable pango markup and escaped characters
* Remove `\n` replacement from **gtk-dialog.py**.
* Use plain **echo** instead of **printf**
2022-07-10 18:55:25 +02:00
Paul Chote
31bd32e7ef Allow launcher scripts to run from other working directories. 2021-11-28 23:09:32 +01:00
Ivaylo Draganov
7f2ac477a2 Improve Game.Mod argument check in launch script 2021-09-28 21:44:53 +02:00
Ivaylo Draganov
69b375dc48 Replace zenity select dropdown with a list 2021-09-28 21:44:53 +02:00
Paul Chote
765944cfa2 Switch macOS and Linux default toolchain to .NET 5. 2021-01-16 22:58:05 +01:00
teinarss
5e74e58b22 Add support for dotnet core for Windows 2021-01-01 19:42:01 +01:00
Matthias Mailänder
09db4a0e25 Enable debug mode by default. 2020-12-15 23:06:05 +01:00
Paul Chote
07a10069db Introduce new OpenRA.exe entrypoint and change OpenRA.Game to a library. 2020-11-27 20:32:02 +01:00
Paul Chote
20fe59e844 Output compiled binaries to ./bin. 2020-11-24 17:53:48 +01:00
Chris
9f9709f058 Add python3 support to launch-game.sh 2020-07-09 20:21:48 +02:00
abcdefg30
baed80983b Fix the launch-game.sh newlines not displaying in the console 2020-07-07 22:30:55 +02:00
abcdefg30
b00423dc76 Correct the crash dialog title 2020-07-07 22:30:55 +02:00
abcdefg30
376ed15079 Correct the support folder location in the crash dialog 2020-07-07 22:30:55 +02:00
Brenton Horne
2d4d6cdc1b Fixing several ShellCheck warnings 2018-11-22 21:30:59 +00:00
Paul Chote
91f22c40bd Add kdialog support for KDE. 2018-05-05 22:34:27 +02:00
Paul Chote
b78e9ee89a Extract error messages to a variable to reduce duplication. 2018-05-05 22:34:27 +02:00
Paul Chote
562cf2ad44 Suppress GTK transient parent warning. 2018-05-05 22:34:27 +02:00
Paul Chote
c1a4e66b29 Adjust zenity crash dialog.
This removes the "View FAQ" button, which does not work in the AppImage
enivronment.  It also replaces the inconsistent question mark icon with
a more appropriate stop symbol, and makes the wording consistent across
the zenity, terminal, and native macOS dialogs.
2018-05-05 22:34:27 +02:00
Paul Chote
77af9ca01d Overhaul launch-game.sh
- Adds macOS support
- Adds mod chooser dialog if zenity available
- Improved text-mode output when zenity not available.
2017-04-09 11:33:27 +01:00
Paul Chote
8385207fba Pass Engine.LaunchPath from linux launchers. 2017-02-11 16:21:35 +00:00
Paul Chote
706d3ae52a Move dedicated server code to OpenRA.Server.exe 2016-03-30 19:26:50 +01:00
Oliver Brakmann
1db0d55aa4 Fix shell script syntax errors
Fixes #6956
2014-11-15 10:43:51 +01:00
Oliver Brakmann
64506b856a Prevent crash dialog from popping up when the game restarts
Fixes #6887
2014-11-04 21:35:56 +01:00
Matthias Mailänder
b7b4bf25b5 add the zenity crash dialog to the Desura scripts 2014-10-19 11:31:59 +02:00
Matthias Mailänder
8dd0c34a56 document the launch scripts 2014-05-17 12:13:58 +02:00
Matthias Mailänder
8a13bc68ef add a dedicated server launch script 2013-03-27 12:01:17 +01:00
Matthias Mailänder
28d740dfc3 Desura compatibility
- create launch scripts for Desura
- that access local installation launch scripts
- clean up /usr/* launch scripts created during make install
2013-03-22 08:32:33 +01:00