Archi
d0fc189fa4
Make cleanup of old version after update more robuts
2022-12-29 22:57:20 +01:00
Archi
8d5653b41e
Add target channel to update command and public API
2022-12-23 22:12:18 +01:00
JustArchi
32a2c1b232
Misc improvements to OnRenamed()
2022-11-28 22:57:02 +01:00
JustArchi
4816cd006d
Fix possible InvalidOperationException on OldName
...
I don't know how it's possible, MSDN docs don't mention it, but since it's nullable, this should help.
2022-11-27 14:25:03 +01:00
Sebastian Göls
5a182b7522
Add --input-cryptkey argument ( #2714 )
...
* Add --input-cryptkey argument
* Improve readability of argument parsing
* Make the compiler shut up
* Remove German translation again
* Revert switch expression
* Fix unused cryptkey
It seems to be late
2022-10-07 19:32:58 +02:00
JustArchi
1dc2b1e06e
Misc
2022-07-21 16:50:15 +02:00
JustArchi
2961975f05
Misc
2022-07-08 19:17:43 +02:00
JustArchi
06843ebf9f
Misc
2022-07-08 19:16:58 +02:00
JustArchi
6ca395795c
Move network group logic into plugins core
...
This will allow plugin creators to make use of network groups
2022-07-08 19:16:29 +02:00
JustArchi
2ec764f8ec
Rewrite WebBrowser errors handling
2022-06-06 23:28:35 +02:00
Sebastian Göls
68e30b43c2
Use ArgumentNullException.ThrowIfNull when possible ( #2591 )
...
* Misc.
* Fix mistake
2022-05-26 13:29:12 +02:00
Sebastian Göls
b8bfcd5df3
Simplify LogNullError calls ( #2554 )
...
* Remove necessity of nameof(...) in calls to ArchiLogger.LogNullError(...)
* Upgrade Madness
* Upgrade Madness
* Split up compound null log statements
2022-04-13 23:16:36 +02:00
Archi
dae6f9d328
Use newer syntax for Enum.IsDefined()
2022-01-23 01:37:43 +01:00
Archi
a5640f5a84
Fix permanently stopped IPC when ASF update has failed
2022-01-08 17:26:16 +01:00
Archi
1809028c77
Rider cleanup
2022-01-06 20:22:38 +01:00
Archi
ffccb98d79
Fix NRE in WebLimitRequest()
...
This was possible if plugin triggered WebLimitRequest() for unrecognized service.
2021-12-27 16:03:33 +01:00
Archi
225003c5d1
Try to fix netf, once again into the breach
2021-12-12 01:44:17 +01:00
Archi
4f598d5c8f
Latest Rider cleanups
2021-12-12 01:12:54 +01:00
Archi
5d33bca611
Add IUpdateAware plugin interface
2021-12-08 19:48:59 +01:00
Archi
d5233c52af
Closes #2458
2021-11-27 11:57:34 +01:00
Archi
b64ad59eff
Move checksum check a bit above
...
It's pointless to let user waste bandwidth on the full ASF asset if checksum is not available right away
2021-11-23 11:58:12 +01:00
Archi
3d1eab828b
Misc
2021-11-22 23:52:17 +01:00
Archi
f0e213476d
Misc rewrite
2021-11-22 22:47:52 +01:00
Archi
958c6bb704
Fix for OS-specific builds not being able to restart after update
2021-11-22 22:36:38 +01:00
Archi
cdd35ad29d
Address new trimming warnings
2021-11-19 22:54:26 +01:00
Archi
0673b2e298
Closes #2420
2021-11-18 23:44:49 +01:00
Archi
c709d529c1
Closes #2455
2021-11-18 21:33:06 +01:00
Łukasz Domeradzki
99569ee3fe
Implement additional checksum verification for ASF builds ( #2453 )
...
* #2452
* Fix netf
* Apply feedback
* Misc
* Misc
* Apply feedback
2021-11-18 21:16:47 +01:00
Archi
951d9dc99f
Remove internal chmod +x after update
...
According to the .NET 6.0 ZipFile changes, .NET can now preserve chmod +x after extracting archive, so this "workaround" should no longer be needed
2021-11-11 18:41:52 +01:00
Archi
d1fc7ebb74
Use C# 10 string interpolation wherever possible
2021-11-11 01:53:34 +01:00
Archi
ff8074aeb6
Use simplified hashing functions
2021-11-11 00:41:38 +01:00
Archi
1e6ab11d9f
Use file-scoped namespaces
2021-11-10 21:23:24 +01:00
Archi
0964cdac96
Minimize define hell
...
Skipping a 20 KB stub in OS-specific non-windows builds and omitting a few very fast if checks isn't worth the code quality degradation that involves all of the ifdef options.
ifdefs should be reserved for stuff that either doesn't compile whatsoever in some specific configurations (NETFRAMEWORK), or is required to make logical decisions based on the compiler input (e.g. DEBUG for detecting debugging builds or ASF_VARIANT_* for hardcoding the platform identifier to use for auto-updates)
In all other situations, we should use OperatingSystem if condition, even if it's equal to hitting them on the platforms that are unlikely to hit them.
And I say unlikely, because nothing stops me from downloading a win-x64 build and running it like a generic one on windows, what you gonna do?
2021-11-10 19:03:05 +01:00
Sebastian Göls
fb4eb0b03a
Use Madness via global usings ( #2447 )
...
* Use Madness via global usings
* Apply feedback
* Disable false positive null warning
2021-11-09 16:33:09 +01:00
Łukasz Domeradzki
bfbeb91633
Refuse to run as root without explicit ignore ( #2427 )
...
* Refuse to run as root without explicit ignore
* Apply feedback
* Detect docker a bit better
* Guard more OS parts behind ifdefs
* Fix warnings
* Further fixes
2021-10-17 00:11:04 +02:00
Archi
7e9e90764b
Use static lambdas wherever possible
...
Thanks Rider
2021-09-27 21:33:52 +02:00
Archi
f2d3a2a894
Use string interpolation wherever possible
...
Majority of cases still need to go through string.Format() due to localization requirements
2021-09-27 19:59:00 +02:00
Archi
1bfedbe5e8
Implement --service cmd-line arg
2021-09-26 01:05:38 +02:00
Archi
3dec189e14
Misc
2021-08-20 14:31:12 +02:00
Archi
de0ee3a497
Make use of latest Madness 1.1.0 features
2021-08-10 17:09:46 +02:00
Łukasz Domeradzki
9f281c6055
Embrace madness ( #2394 )
...
* Embrace madness
* Remove unused code
* Misc
* Address Abry's note
* Update for Madness 0.3.0
2021-08-07 14:03:46 +02:00
Archi
aa7fce300d
Use new OperatingSystem API for OS detection
...
Supporting netf gets harder every day...
2021-08-05 21:17:42 +02:00
Archi
d479eb9f97
Address Rider EAP inspections/cleanup
2021-07-12 21:45:17 +02:00
Archi
c3c1eb8295
Address SYSLIB0021 warning
...
Applies from net6.0 onwards, but can be fixed already
2021-07-04 16:02:16 +02:00
Archi
e824607456
Closes #2344
2021-06-26 14:12:49 +02:00
Archi
d5a10ca7eb
Misc
2021-06-25 14:43:46 +02:00
Archi
abd8d41d06
Closes #2342
2021-06-23 12:51:24 +02:00
Archi
c76decda35
Improve ASF codebase
2021-06-21 22:07:35 +02:00
Archi
d01a26e48a
OS: Add FreeBSD support inside ASF code
...
#2129
2021-06-21 11:47:20 +02:00
JustArchi
d21d2473fe
RuntimeCompatibility -> Compatibility
2021-05-08 01:43:08 +02:00