Commit Graph

175 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard eeb4e12f75
fix Linux/macOS build error 2023-06-24 15:48:21 -04:00
Jesse Plamondon-Willard f52b2a5ad4
Merge pull request #908 from romangraef/feat/wezterm
Add wezterm terminal support for linux
2023-06-24 12:50:01 -04:00
nea ebdb17bf81
Add wezterm terminal support for linux 2023-06-24 12:45:44 -04:00
Jesse Plamondon-Willard 5196c3bad9
rename `--headless` to `--no-prompt`, and parse with the other args 2023-06-24 12:36:02 -04:00
Marie Ramlow 654ad4b4b2
Add headless flag for unattended execution 2023-06-24 12:06:10 -04:00
Jesse Plamondon-Willard 9dd702a162
embed debug symbols for Linux/macOS compatibility
This fixes error stack traces not having line numbers on Linux/macOS.
2023-06-24 11:49:04 -04:00
Freya Arbjerg fe43ec51d0
Use more portable shebangs 2023-04-02 15:37:17 -04:00
Jesse Plamondon-Willard 8ee555c07a
suppress findstr installer error for some players 2023-01-22 10:18:37 -05:00
Jesse Plamondon-Willard ab34b6142d
undo $@ to $* change per discussion 2022-07-28 21:47:21 -04:00
Ishan Jalan dd2e3e9d93 Jetbrains Rider suggestions
I ran the file on Rider and it had a few suggestions

<img width="506" alt="image" src="https://user-images.githubusercontent.com/44338423/180635394-cb45defa-47f4-444c-ad10-e0fc89522fe7.png">
2022-07-24 12:07:38 +05:30
Ishan Jalan a50a730886 unix-launcher.sh optimisations
I ran the file through Rider which used Intellisense(?) to suggest changes in addition to moving from .sh to .command
2022-07-24 12:01:34 +05:30
Ishan Jalan ea4307a282 Update unix-launcher.sh
This will open the default shell. Works for me after testing.
2022-07-20 22:30:09 +05:30
Jesse Plamondon-Willard 1b25710cf2
fix installer partly applying color theme before it's selected 2022-07-08 17:48:01 -04:00
Jesse Plamondon-Willard 4d9fd63d9e
update code annotations 2022-07-06 19:24:49 -04:00
Jesse Plamondon-Willard c91fbc82f8
deprecate support for updating ancient versions of SMAPI 2022-06-20 18:02:41 -04:00
Jesse Plamondon-Willard 9ef3f7edb1
remove `System.Reflection.Metadata.MetadataUpdater.IsSupported: false` in runtime config
This doesn't seem to be needed, and was probably added as part of the early experimenting with self-contained .NET.
2022-05-31 18:25:12 -04:00
Jesse Plamondon-Willard c1342bd4cd
disable case-insensitive paths by default pending performance rework 2022-05-04 20:35:08 -04:00
Jesse Plamondon-Willard 40aebb74c6
enable nullable annotations in installer (#837) 2022-04-12 21:01:13 -04:00
Jesse Plamondon-Willard 2e7c233f6c
enable nullable annotations by default (#837)
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06 21:48:55 -04:00
Jesse Plamondon-Willard 077d8e4f40
remove some unused/redundant code 2022-04-06 18:25:00 -04:00
Jesse Plamondon-Willard b6c8cfc28b
simplify 'is not' patterns 2022-04-06 18:24:59 -04:00
Jesse Plamondon-Willard a593eda30f
use target-typed new 2022-04-06 18:24:59 -04:00
Jesse Plamondon-Willard 2216e37726
rework launch script argument parsing (#832)
This commit...

* replaces the internal `--no-reopen-terminal` arg with a documented `--use-current-shell` arg that works on Linux too;
* replaces the new SKIP_TERMINAL environment variable with the existing SMAPI_NO_TERMINAL one;
* moves argument parsing out of the 'initial setup' section (so it's easier for players to edit if needed);
* simplfies argument parsing (no need to support short opt names or add arguments for the default behavior);
* fixes arguments not parsed after the first unrecognized argument, so `--unknown --no-terminal` would still open a terminal.
2022-03-06 19:55:32 -05:00
Ryhon bb31f09977
Command line options 2022-03-05 20:40:01 +01:00
Ryhon 30d63f0a11
Make SKIP_TERMINAL default to false if not set 2022-03-04 19:20:39 +01:00
Jesse Plamondon-Willard 92f35837ad
fix syntax, update release notes 2022-01-02 13:48:53 -05:00
Jesse Plamondon-Willard adb3926609
Merge pull request #820 from bruce2409/update-launcher-sh
Added shell shebang to MacOS Launcher code
2022-01-02 13:45:38 -05:00
Jesse Plamondon-Willard aad77242f0
fix uninstaller not removing StardewModdingAPI.deps.json file 2021-12-23 23:08:49 -05:00
bruce2409 5712116879 Added shell shebang to MacOS Launcher code 2021-12-22 17:41:11 +00:00
Jesse Plamondon-Willard 95f658014e
simplify running SMAPI without a terminal on Linux/macOS 2021-12-18 23:07:33 -05:00
Jesse Plamondon-Willard 5b5dd47c22
prepare for release 2021-12-05 19:10:28 -05:00
Jesse Plamondon-Willard 98d01d522d
improve error when installer is pointed at a compatibility-branch game folder 2021-12-05 00:51:24 -05:00
Jesse Plamondon-Willard cb9d6ae5ad
improve error when installer is pointed at a SDV 1.5.4 folder 2021-12-04 23:47:27 -05:00
Jesse Plamondon-Willard cc35dbdb3d
fix self-contained install on Windows 2021-12-04 20:25:53 -05:00
Jesse Plamondon-Willard c80d07fddf
migrate SMAPI to self-contained install
This removes the need to have .NET 5 installed to run SMAPI. Note that there's no need to actually bundle the .NET files, since they're already bundled into the game folder.
2021-12-04 15:55:29 -05:00
Jesse Plamondon-Willard 181508084b
make installer self-contained
This lets players run the installer without manually installing .NET 5, which was causing a lot of support requests.
2021-12-03 00:26:46 -05:00
Jesse Plamondon-Willard bf5a9b8762
switch to scripted release package process 2021-12-02 20:48:00 -05:00
Jesse Plamondon-Willard 05b06e7a9f
improve installer's .NET 5 validation to explain how to fix it 2021-11-30 21:53:09 -05:00
Jesse Plamondon-Willard f5a0dd1578
fix error running installer from folder paths containing parentheses 2021-11-30 20:18:17 -05:00
Jesse Plamondon-Willard cb378a1c55
keep installer window open if it crashes 2021-11-28 00:01:51 -05:00
Jesse Plamondon-Willard 51c6ef9443
fix .NET 5 precheck passing if player has .NET Core installed 2021-11-28 00:01:51 -05:00
Jesse Plamondon-Willard 32ccc8e872
fix installer file precheck failing for some users 2021-11-28 00:01:51 -05:00
Jesse Plamondon-Willard b791e854c1
fix installer precheck errors showing quotes, tweak readability 2021-11-28 00:01:50 -05:00
Jesse Plamondon-Willard 294f2a311e
fix error resolving native DLLs like libSkiaSharp 2021-11-28 00:01:46 -05:00
Jesse Plamondon-Willard 89c98223eb
remove path-too-long exception handling
The path length limit no longer applies in .NET 5.
2021-11-28 00:01:46 -05:00
Jesse Plamondon-Willard 33c7a0392c
remove libgdiplus workaround on macOS
This is no longer needed after the .NET 5 migration.
2021-11-28 00:01:45 -05:00
Jesse Plamondon-Willard 0f508c755a
reorganize install script
This fixes an issue where Steam messes with the PATH, so dotnet isn't available until the terminal window is opened.
2021-11-28 00:01:45 -05:00
Jesse Plamondon-Willard 7c5c63d684
fix SMAPI not working on macOS, improve installer validation 2021-11-28 00:01:44 -05:00
Jesse Plamondon-Willard f6479ea2b6
restructure installer for .NET 5 changes 2021-11-28 00:01:44 -05:00
Jesse Plamondon-Willard ce80c68135
fix segfault on Linux/macOS after .NET 5 update
Harmony doesn't seem to support tiered compilation on Linux/macOS, but the vanilla game disables that too anyway. The bundled runtimeconfig files match the ones used by the vanilla game. Thanks to 0x0ade for identifying the cause!
2021-11-28 00:01:44 -05:00