smoogipoo
8aa8d2c880
Resolve NREs
2020-06-03 16:59:37 +09:00
smoogipoo
f3b5149648
Move some suggestions to warnings, resolve issues
2020-06-03 16:48:44 +09:00
Salman Ahmed
82fe99cf4a
Replace any potential usage of Environment.CurrentDirectory with a new RuntimeInfo.StartupDirectory
...
Using `Environment.CurrentDirectory` for storing / reading files is dangerous as the current directory is mutable and can be changed when performing a certain operation (like opening solutions in roslyn type reference builder for example).
2020-05-31 02:24:49 +03:00
Dean Herbert
d6840d880a
Update StableStorage implementation in line with framework changes
2020-05-08 10:40:04 +09:00
alex
0e2ccac33b
Add spaces to comments
2020-05-04 18:36:24 -07:00
Dean Herbert
6477a7b73e
Centralise creation of UpdateManagers
2020-03-05 13:34:04 +09:00
dependabot-preview[bot]
b7e14569eb
Bump DiscordRichPresence from 1.0.147 to 1.0.150
...
Bumps [DiscordRichPresence](https://github.com/Lachee/discord-rpc-csharp ) from 1.0.147 to 1.0.150.
- [Release notes](https://github.com/Lachee/discord-rpc-csharp/releases )
- [Commits](https://github.com/Lachee/discord-rpc-csharp/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 03:11:10 +00:00
dependabot-preview[bot]
5609c92aaf
Bump DiscordRichPresence from 1.0.121 to 1.0.147
...
Bumps [DiscordRichPresence](https://github.com/Lachee/discord-rpc-csharp ) from 1.0.121 to 1.0.147.
- [Release notes](https://github.com/Lachee/discord-rpc-csharp/releases )
- [Commits](https://github.com/Lachee/discord-rpc-csharp/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 07:50:21 +00:00
Salman Ahmed
5a2ed5391d
Update license year
2020-01-19 23:51:10 +03:00
Dean Herbert
63de934ee5
Merge branch 'master' into sdl-arg
2020-01-14 12:45:45 +08:00
Lucas A
ec95cbd0af
Don't update rich presence if the rpc client isn't initialized.
2020-01-11 16:03:00 +01:00
Dean Herbert
a5e30859a9
Truncate rich presence status strings to 128 bytes ( #7318 )
...
Truncate rich presence status strings to 128 bytes
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
2019-12-25 12:28:44 +09:00
smoogipoo
1a7937bcf7
Apply suggested optimisations
2019-12-25 12:04:28 +09:00
smoogipoo
36dd0e6998
Make ellipsis length into a static
2019-12-25 11:14:40 +09:00
smoogipoo
f1f9e1f658
Don't truncate with exactly 128 bytes
2019-12-23 19:56:05 +09:00
Dean Herbert
b9bc1c954e
Disable automatic retry of failed discord RPC connections
2019-12-23 19:50:35 +09:00
Dan Balasescu
bc0c331c33
Merge branch 'master' into fix-discord-rpc
2019-12-23 19:37:00 +09:00
smoogipoo
4302412243
Simplify implementation
2019-12-23 19:34:12 +09:00
Lucas A
125f4286ae
Move truncate() to a method body
2019-12-23 10:55:44 +01:00
Lucas A
e2b4e3580c
Truncate strings passed to the Discord RPC client to a maximum of 128 bytes
2019-12-22 19:21:21 +01:00
Huo Yaoyuan
351e826120
Upgrade project targets to netcoreapp3.1
2019-12-20 17:03:54 +08:00
Dean Herbert
9ac15ef3a8
Don't log discord connection failures
2019-12-18 22:56:00 +09:00
Dean Herbert
0710e5ba13
Rename unknown mode assets (discord dev page broken)
2019-12-18 14:35:18 +09:00
Dean Herbert
b65847b0d7
Refactor / rewrite discord code
2019-12-18 14:07:53 +09:00
Dean Herbert
0a3d339dd9
Load discord RPC asynchronously
2019-12-18 14:07:32 +09:00
Dean Herbert
0f5ef78b69
Update client id
2019-12-18 12:39:50 +09:00
Dean Herbert
72acce77b3
Merge branch 'master' into discord-rich-presence
2019-12-18 12:19:54 +09:00
Huo Yaoyuan
48976f5d0e
Add VS launcher profile for tournament client.
2019-12-10 18:19:53 +08:00
Dean Herbert
dc45811dfd
Bump Microsoft.Win32.Registry from 4.6.0 to 4.7.0 ( #7112 )
...
Bump Microsoft.Win32.Registry from 4.6.0 to 4.7.0
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-09 18:18:59 +09:00
dependabot-preview[bot]
3861abce82
Bump System.IO.Packaging from 4.6.0 to 4.7.0
...
Bumps [System.IO.Packaging](https://github.com/dotnet/corefx ) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 07:52:23 +00:00
dependabot-preview[bot]
b764a74919
Bump Microsoft.Win32.Registry from 4.6.0 to 4.7.0
...
Bumps [Microsoft.Win32.Registry](https://github.com/dotnet/corefx ) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 07:52:22 +00:00
Bartłomiej Dach
ff8544597c
Add explicit app manifest to desktop project
...
After the .NET Core bump to version 3.0 in the 2019.1011.0 release,
reports popped up of the game not starting any more on some computers
using Intel graphics cards (HD 3000 in particular).
After investigation the auto-generated application manifest changed in
.NET Core 3.0. In particular this seems to be a root cause for the
failed start-ups on Intel cards, due to a Windows version compatibility
section appearing. The section in turn affects some WinAPI calls like
GetVersionEx, which will return major version 10 instead of 6 if
compatibility with Windows 10 is declared. This combined with a broken
check in the Intel OpenGL driver caused the crashes.
To resolve this without having to patch binaries, add an explicit
application manifest to the desktop project with the compatibility
section removed.
2019-12-07 19:55:09 +01:00
Shane Woolcock
54a8c00bb8
Add support for --sdl command line arg
2019-11-28 17:10:39 +10:30
Huo Yaoyuan
144812669d
Use static local functions.
2019-11-12 19:56:54 +08:00
Huo Yaoyuan
64fc5007fc
Use language primitive types.
2019-11-12 19:56:45 +08:00
Huo Yaoyuan
bcf8e3a9d4
Remove redundant properties from desktop projects.
...
While OutputType=Library maybe doubtful, PlatformTarget=AnyCPU should be clearly the default.
2019-10-30 22:56:33 +08:00
Huo Yaoyuan
31595159be
Normalize .props
2019-10-30 21:54:14 +08:00
Joehu
f4924dc3cf
Fix volume scrolling when hovering VersionManager
2019-10-14 16:37:54 -07:00
Dean Herbert
5d6648d9c9
Update 2.2 references
2019-10-10 17:45:38 +09:00
Dean Herbert
42b6041763
Move post-update notification logic to UpdateManager base class
2019-09-24 18:37:05 +09:00
Dean Herbert
0820e23097
Merge branch 'master' into dependabot/nuget/System.IO.Packaging-4.6.0
2019-09-24 11:17:07 +09:00
dependabot-preview[bot]
50dcb70342
Bump Microsoft.Win32.Registry from 4.5.0 to 4.6.0
...
Bumps [Microsoft.Win32.Registry](https://github.com/dotnet/corefx ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 21:04:20 +00:00
dependabot-preview[bot]
78ce62b187
Bump System.IO.Packaging from 4.5.0 to 4.6.0
...
Bumps [System.IO.Packaging](https://github.com/dotnet/corefx ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 20:29:36 +00:00
Andrei Zavatski
8ef4b2a0f6
Hide NotificationOverlay
2019-08-13 11:29:48 +03:00
Roman Kapustin
c8dd29067b
Update Entity Framework Core
2019-08-04 00:34:51 +03:00
Dean Herbert
808f77f1b1
Fix version overlay displaying briefly before it should ( #5512 )
...
Fix version overlay displaying briefly before it should
2019-07-30 14:10:24 +09:00
Dean Herbert
a16c0f2aa0
Don't report stable storage msising to sentry
2019-07-30 12:44:08 +09:00
Dean Herbert
f21a2f7e5e
Fix version overlay displaying briefly before it should
2019-07-29 21:49:12 +09:00
Dean Herbert
2d03c849bf
Improve testability of intro sequence ( #5275 )
...
Improve testability of intro sequence
2019-07-29 18:56:38 +09:00
Dean Herbert
e579bce18a
Don't report delta patch failures to sentry
2019-07-29 18:14:06 +09:00