Commit Graph

42 Commits

Author SHA1 Message Date
Rob Trame
7e66c44f90
chore: update identity, branding, and CI for FModel Linux fork (#69)
* chore: update identity, branding, and CI for FModel Linux fork

- README.md: complete rewrite with fork identity disclaimer, upstream
  attribution, updated links, and removal of sponsorship section
- NOTICE: add upstream FModel GPL-3 attribution; update library list
  (add Avalonia/AvaloniaEdit/Svg.Skia/Twizzle.ImGui-Bundle.NET, remove
  AdonisUI/AutoUpdater.NET/CSCore/ImGui.NET/Ookii.Dialogs.Wpf)
- Constants.cs: update ISSUE_LINK and GH_REPO to r6e/FModel-Linux;
  clear DISCORD_LINK pending app registration
- FModel.csproj: add opt-in USE_FMODEL_API build flag
  (-p:UseFModelApi=true) for upstream api.fmodel.app integration
- FModelApiEndpoint.cs: gate all api.fmodel.app calls behind
  #if USE_FMODEL_API; rewrite CheckForUpdatesAsync to use GitHub
  Releases API and return GitHubRelease? for caller-side notification
- GitHubApiEndpoint.cs: add GetLatestReleaseAsync() for /releases/latest
- GitHubResponse.cs: add TagName/HtmlUrl/Body to GitHubRelease; replace
  AutoUpdater.DownloadUpdate with Process.Start(UseShellExecute=true)
- MainWindow.xaml.cs: surface update availability via FLogger [WRN] entry
  at startup when a newer GitHub release is found
- DiscordService.cs: disable RPC (empty APP_ID, early-return guard)
  pending Discord application registration for the fork
- About.xaml: version label reads 'FModel Linux {0}'; dual credit lines
  for Asval (original) and Rob Trame (Linux port)
- AboutViewModel.cs: update description, contributors, and references
  list to reflect current Avalonia-based dependency set
- .github/workflows: target ubuntu-latest, linux-x64, net8.0; remove
  fmodel.app deploy steps; rename artifact to FModel-Linux.zip
- .github/ISSUE_TEMPLATE: update assignee and remove Discord link
- .github/FUNDING.yml: note donation link points to upstream project

* Fix whitespace issues

* chore: address PR review feedback

- NOTICE: remove orphaned MS-PL and BSD 3-Clause license texts; the
  index already lists only MIT and Apache 2.0, and no current dependency
  uses either of those licenses
- GitHubResponse.cs: guard against null Asset/BrowserDownloadUrl in
  Download(); log a warning via Serilog instead of NullReferenceException
  or re-throwing InvalidOperationException
- MainWindow.xaml.cs: run update check in a background Task.Run to
  avoid blocking startup; post FLogger notification back on
  Dispatcher.UIThread; swallow exceptions so a failed check never
  impacts startup
- FModelApiEndpoint.cs: log a warning when the current application
  version string cannot be parsed, matching the existing behaviour for
  an unparseable latest-release tag
- .github/workflows: add `permissions: contents: write` to both
  main.yml and qa.yml (GitHub Advanced Security finding)

* chore: address second round of PR review feedback

- NOTICE: add missing direct NuGet dependencies —
  EpicManifestParser.ZlibngDotNetDecompressor, Serilog.Sinks.Console,
  Serilog.Sinks.File, and SkiaSharp.HarfBuzz — each with their
  respective copyright notice and license (MIT / Apache 2.0)
- FModelApiEndpoint.cs: remove now-unused _applicationView property
  (CheckForUpdatesAsync was refactored to use GitHubApi directly;
  _applicationView is dead code outside of #if USE_FMODEL_API blocks)
- DiscordService.cs: fix DiscordRpcClient being constructed at
  field-init time with an empty APP_ID string; make _client nullable
  and only instantiate when APP_ID is non-empty; update all call sites
  to use null-safe pattern matching (_client is not { IsInitialized:
  true }) so callers are safe without runtime client construction

* chore: address third round of PR review feedback

- MenuCommand.cs: guard Help_Discord action against empty DISCORD_LINK;
  Process.Start with an empty FileName throws at runtime, so the action
  is now a no-op when no Discord server URL is configured
- qa.yml: zip the full publish output directory (./FModel/bin/Publish/)
  rather than just the single executable; --no-self-contained publishes
  companion files (*.deps.json, *.runtimeconfig.json) that are required
  at runtime alongside the PublishSingleFile output
- main.yml: same fix — zip ./FModel/bin/Publish/ so the release artifact
  includes all required publish outputs, not just the executable

* Update FModel/ViewModels/ApiEndpoints/FModelApiEndpoint.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-12 11:13:00 -06:00
Marlon
4e0efe779b
action updates 2025-12-10 21:59:59 +01:00
Marlon
0f20b543ca
use zip 2024-04-27 12:33:58 +02:00
Marlon
81be2dacec
7z 2024-04-27 12:14:28 +02:00
Marlon
2d87dcf83c
grr 2024-04-27 12:10:24 +02:00
Marlon
5965cb7e7f
fix 2024-04-27 12:09:30 +02:00
Marlon
049a4434c9
updated qa qorkflow 2024-04-27 12:07:00 +02:00
Asval
0551bc3731 .NET 8 2023-11-17 23:08:34 +01:00
Asval
88adcd03be load ondemand archives 2023-11-08 22:15:04 +01:00
Valentin
5ef205c142
Update qa.yml 2023-11-04 20:23:37 +01:00
Valentin
b5a3b1c655
Update qa.yml 2023-11-04 20:18:11 +01:00
Valentin
e81259b298
Update qa.yml 2023-11-04 20:14:18 +01:00
Valentin
f510ca0a0c
Update qa.yml 2023-11-04 20:10:15 +01:00
Valentin
26a0dfcde8
Update qa.yml 2023-11-04 20:08:53 +01:00
Valentin
1e9f7e7355
Update qa.yml 2023-11-04 20:03:55 +01:00
Valentin
0f7bd1833a
Update qa.yml 2023-11-04 19:59:12 +01:00
Valentin
88e3ab1a71
Update qa.yml 2023-11-04 19:51:21 +01:00
Valentin
3b2a0fb044
Update qa.yml 2023-11-04 19:42:41 +01:00
Valentin
33e311c457
Update qa.yml 2023-11-04 19:05:58 +01:00
Valentin
3afb34018d
Update qa.yml 2023-11-04 19:04:10 +01:00
Valentin
5f2fea6828
Update qa.yml 2023-11-04 18:54:02 +01:00
Valentin
3cab5e6a27
Create qa.yml 2023-11-04 18:47:02 +01:00
4sval
41adc2412a FModel v4.4.1 2022-12-28 16:18:55 +01:00
4sval
69592ad46d FModel v4.4 2022-12-04 23:35:16 +01:00
4sval
807029d211 better 2022-09-07 00:39:56 +02:00
4sval
ffedb2be90 I feel a little scammed 2022-07-26 18:47:12 +02:00
4sval
3bc1d10988 grrrr 2022-07-24 20:55:53 +02:00
GMatrixGames
5a31f9662c Set back to net 6.0 until another solution is done 2022-06-12 16:30:33 -04:00
GMatrixGames
e21a3be55b
Update/net7 (#290)
* file-scoped namespace & net7.0

* Workflow
2022-06-11 20:07:59 -04:00
iAmAsval
19bf7403f9 prout 2021-11-21 18:21:51 +01:00
Tiger
83b5c9a9c7
fixed publish for net 6 2021-11-08 20:04:44 +01:00
MountainFlash
07282faf8c
updated action 2021-09-15 20:46:30 +05:30
Not Officer
5abde2d7a4 disabled ready-to-run compile feature 2021-08-17 02:35:10 +02:00
iAmAsval
d4e8e5abc4 finally it worked out 2021-06-04 00:03:07 +02:00
iAmAsval
23fc8c6c8f test again 2021-06-03 23:58:54 +02:00
Not Officer
af0eae58d3 Merge branch 'dev' of https://github.com/iAmAsval/FModel into dev 2021-06-03 20:34:37 +02:00
iAmAsval
836d80f779 i give up now 2021-06-03 18:38:37 +02:00
iAmAsval
e52054695d test 2021-06-03 18:34:40 +02:00
iAmAsval
fca9856c85 i'm dumb 2021-06-03 17:22:23 +02:00
iAmAsval
e575b5fb3b base map viewer v2 2021-06-01 00:10:30 +02:00
Valentin
e37a09b42d
Update main.yml 2021-05-22 22:20:18 +02:00
Valentin
c403453cc3 FModel v4.0 2021-05-22 22:10:08 +02:00