Commit Graph
1132 Commits
Author SHA1 Message Date
Jordan Dominion bbc17a62cf Publish configure project with runtime identifier
Give it its own directory too because it's chonky now
2023-06-27 18:33:21 -04:00
Jordan Dominion f79777daec Add missing silent flag to uninstall 2023-06-26 13:15:04 -04:00
Jordan Dominion f26e770730 Cleanup configure app 2023-06-26 11:21:15 -04:00
Jordan Dominion b7ac1f6238 Fix stylecop applying to test projects 2023-06-26 10:23:08 -04:00
Jordan Dominion 69b51dfbfe Preconfigure during CI installs 2023-06-26 09:52:08 -04:00
Jordan Dominion ed0786ce65 Working winget push into deploy CI 2023-06-26 02:13:21 -04:00
Jordan Dominion 315a32ce73 Rename build_package.ps1 to build_msi.ps1 2023-06-26 00:12:54 -04:00
Jordan Dominion 3861d2db8d Disallow msi upgrades
See https://stackoverflow.com/a/14736573

Also set some additional .vdproj fields
2023-06-25 21:00:34 -04:00
Jordan Dominion 12e71119c5 Add missing restore to packaging script 2023-06-25 21:00:34 -04:00
Jordan Dominion 1da9370a44 Use SystemD journal if file logging is disabled 2023-06-25 21:00:32 -04:00
Jordan Dominion 3d17597ddc We should now be implicitly upgradable in winget 2023-06-25 21:00:31 -04:00
Jordan Dominion 13d9a92abb Run configure app as winforms to be non-intrusive 2023-06-25 21:00:30 -04:00
Jordan Dominion 7fcc1e8208 Fix .vdproj ProductCode and ProductVersion
Also change installation folder name to just `tgstation-server`
2023-06-25 21:00:27 -04:00
Jordan Dominion a6c85366ae Add Windows service commands 128, 129, and 130
- 128 triggers a server shutdown.
- 129 and 130 are identical to SIGUSR1 and SIGUSR2 respectively, triggering a graceful shutdown and detaching shutdown respectively.
- These are implemented via pipes and are preferred to using the update path going forward. Should eventually replace the param entirely at the next possibility.
- New service params to detach and restart any running server as opposed to stopping entirely.
- Defer all service control to Service executable from Configure app.
- Console runner returns non-zero on error.
- Fix setting ACL of appsettings.Production.yml.
2023-06-25 21:00:26 -04:00
Jordan Dominion de7d93d218 Fix cd backup in build_package.ps1 2023-06-25 21:00:25 -04:00
Jordan Dominion 375895a5cd A bunch of .vdproj fixups
I can't read the diff because of this fucking project format
2023-06-25 12:37:09 -04:00
Jordan Dominion 4f0d3876e3 Set ACL info in configure script 2023-06-25 12:34:33 -04:00
Jordan Dominion ebadd12cc4 Use windows targeted net6.0 for configure project 2023-06-25 12:34:16 -04:00
Jordan Dominion 2760060969 dotnet commands here do not speed up the build 2023-06-25 12:33:19 -04:00
Jordan Dominion 1a472a4cf1 Add configure shortcut to start menu 2023-06-25 12:33:18 -04:00
Jordan Dominion cde647bc63 Fix .msi shortcut icon 2023-06-25 12:33:17 -04:00
Jordan Dominion 5202a79d81 Rename manifest.xml to uac_elevation_manifest.xml 2023-06-25 12:09:44 -04:00
Jordan Dominion 2c2797134d Fix .msi packaging failing due to non-existent dir 2023-06-25 10:35:32 -04:00
Jordan Dominion 8e0b8ce4eb Fix .deb build 2023-06-25 10:31:03 -04:00
Jordan Dominion 8614b07a9e Start service if configured during installation 2023-06-25 10:02:13 -04:00
Jordan Dominion e5858d02f4 Enable (roughly) upgrading the installation 2023-06-24 11:02:10 -04:00
Jordan Dominion 15a996f785 Add .msi variables README.md 2023-06-24 09:48:37 -04:00
Jordan Dominion 108e04d485 Rename -NoService configs to -NoFramework
Better represents of what they are
2023-06-24 09:39:04 -04:00
Jordan Dominion b2414fa92d Installer should now be x86 compatible 2023-06-24 09:32:18 -04:00
Jordan Dominion 55a7d656a9 Remove useless install folder 2023-06-24 09:29:25 -04:00
Jordan Dominion bc87686f97 Remove installer prequisites
- It's just a useless prompt
2023-06-24 09:28:23 -04:00
Jordan Dominion 8ee8baf897 Standalone .sln for .Msi project
Fixes it breaking all the other CI builds
2023-06-24 09:25:34 -04:00
Jordan Dominion 5f353b4e2b .msi + winget package initial support 2023-06-24 03:13:40 -04:00
Jordan Dominion 10f2852c6a Debian is smart about /etc files. Fix ownership 2023-06-23 22:10:09 -04:00
Jordan Dominion dd60436c27 Let the systemd service fail on default startup 2023-06-23 21:49:59 -04:00
Jordan Dominion 95e229d3ce Fix issues with .deb /etc symlink 2023-06-23 20:40:48 -04:00
Jordan Dominion 91f197c121 Set WorkingDirectory in .service to avoid tgs.sh 2023-06-23 20:22:41 -04:00
Jordan Dominion b7536ae39d Fix tgs-configure 2023-06-23 20:21:41 -04:00
Jordan Dominion b75571aa25 Use SIGTERM for WatchdogSignal
The host watchdog will kill the main process if it needs to.
2023-06-23 20:15:09 -04:00
Jordan Dominion 7e1245f0bf Fix creating deb directory structure 2023-06-23 17:01:21 -04:00
Jordan Dominion 3defb49450 find only files 2023-06-23 14:51:41 -04:00
Jordan Dominion 5d9115100f * instead of . in find command 2023-06-23 14:38:04 -04:00
Jordan Dominion c43d95142f Escape Makefile escaping 2023-06-23 13:58:43 -04:00
Jordan Dominion 6b4c876746 Fix install commands 2023-06-23 13:37:41 -04:00
Jordan Dominion 647ed308bb Fully support notify-reload 2023-06-23 13:37:16 -04:00
Jordan Dominion 424659301f Fix install header again 2023-06-23 11:19:44 -04:00
Jordan Dominion 0ac3966bc4 Clean up configure script 2023-06-23 11:01:15 -04:00
Jordan Dominion 0a89cdd95d Use recursive install 2023-06-23 09:51:28 -04:00
Jordan Dominion f8127db2c6 uninstall is completely unnecessary here 2023-06-23 09:25:57 -04:00
Jordan Dominion 257f462960 Fix issues with installing configuration 2023-06-23 09:07:42 -04:00