unitystation / stationhub

The launcher for Unitystation, an open source remake of Space Station 13.
https://unitystation.org
MIT License
13 stars 19 forks source link

Autoupdate breaks when we need to change content of Lib folder #127

Closed corp-0 closed 1 year ago

corp-0 commented 3 years ago

OS: Windows Version: 928 => 929

We did an Avalonia update in the middle and I think it makes auto-update break, at least on windows version. Other OS's need reproduction.

Steps:

  1. Have 928 version.
  2. Execute and proceed to auto update.
  3. At the end, it should close whinning about a missing library file.
corp-0 commented 3 years ago
"Updating hub please wait.."
Y
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\hostfxr.dll
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\hostpolicy.dll
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\NetCoreBeauty
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\StationHub.deps.json
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\StationHub.dll
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\StationHub.exe
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\StationHub.pdb
D:\github\corp-0\stationhub\UnitystationLauncher\bin\Debug\netcoreapp3.1\temp\StationHub.runtimeconfig.json
8 archivo(s) copiado(s)
"Update complete."
Error:
  An assembly specified in the application dependencies manifest (StationHub.deps.json) was not found:
    package: 'Mono.Posix.NETStandard', version: '1.0.0'
    path: './Mono.Posix.NETStandard.dll'

relevant log

sirnuke commented 2 years ago

My log is far more boring, but seeing the same issue when I casually tried to launch recently.

2021-12-22 22:03:11.133 -05:00 [INF] Build Number: 926
2021-12-22 22:03:13.981 -05:00 [INF] Client is old (926) new version is (930)
2021-12-22 22:03:15.378 -05:00 [INF] Download started...
2021-12-22 22:03:15.530 -05:00 [INF] Download connection established
2021-12-22 22:03:15.543 -05:00 [INF] Extracting...
2021-12-22 22:03:15.545 -05:00 [INF] Progress: 0
2021-12-22 22:03:15.621 -05:00 [INF] Progress: 1
2021-12-22 22:03:15.654 -05:00 [INF] Progress: 2
<snip>
2021-12-22 22:03:19.389 -05:00 [INF] Progress: 99
2021-12-22 22:03:19.428 -05:00 [INF] Progress: 100
2021-12-22 22:03:20.089 -05:00 [INF] Download completed

Upon launching I get the following error:

Error:
  An assembly specified in the application dependencies manifest (StationHub.deps.json) was not found:
    package: 'Avalonia.Controls.DataGrid', version: '0.10.6'
    path: './Avalonia.Controls.DataGrid.dll'
corp-0 commented 2 years ago

yeah, delete everything and get the files from here https://github.com/unitystation/stationhub/releases .

CorruptComputer commented 1 year ago

The auto update feature was removed in #184 so I think this can be closed.