ryujinx/src/Ryujinx.Common
TSRBerry 70fcba39de
Make config filename changable for releases & Log to Ryujinx directory if application directory is not writable (#4707)
* Remove GetBaseApplicationDirectory() & Move logs directory to user base path

We should assume the application directory might be write-protected.

* Use Ryujinx.sh in Ryujinx.desktop

This desktop file isn't really used right now,
so this changes effectively nothing.

* Use properties in ReleaseInformation.cs and add ConfigName property

* Configure config filename in Github workflows

* Add a separate config step for macOS

Because they use BSD sed instead of GNU sed

* Keep log directory at the old location for dev environments

* Add FileSystemUtils since Directory.Move() doesn't work across filesystems

Steal CopyDirectory code from https://learn.microsoft.com/en-us/dotnet/standard/io/how-to-copy-directories

* Fix "Open Logs folder" button pointing to the wrong directory

* Add execute permissions to Ryujinx.sh

* Fix missing newlines

* AppDataManager: Use FileSystemUtils.MoveDirectory()

* Make dotnet format happy

* Add a fallback for the logging directory
2024-01-29 19:58:18 +01:00
..
Collections editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
Configuration Make config filename changable for releases & Log to Ryujinx directory if application directory is not writable (#4707) 2024-01-29 19:58:18 +01:00
Extensions editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
GraphicsDriver editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
Logging Make config filename changable for releases & Log to Ryujinx directory if application directory is not writable (#4707) 2024-01-29 19:58:18 +01:00
Memory Horizon: Implement arp:r and arp:w services (#5802) 2024-01-25 23:06:53 +01:00
Pools editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
PreciseSleep editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
SystemInterop editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
Utilities Make config filename changable for releases & Log to Ryujinx directory if application directory is not writable (#4707) 2024-01-29 19:58:18 +01:00
AsyncWorkQueue.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
Hash128.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
PerformanceCounter.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
ReactiveObject.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
ReferenceEqualityComparer.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
ReleaseInformation.cs Make config filename changable for releases & Log to Ryujinx directory if application directory is not writable (#4707) 2024-01-29 19:58:18 +01:00
Ryujinx.Common.csproj Migrate to .NET 8 (#5887) 2023-11-15 17:41:31 +01:00
XXHash128.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00