Moonlight icon indicating copy to clipboard operation
Moonlight copied to clipboard

V2 add image update

Open mxritzdev opened this issue 1 year ago • 6 comments

The Update Feature is doing:

  • Updating Information (Name, Author, Startupcmd, ...)
  • Updating Variables and docker images (removing unused, updating existent, saving new)

mxritzdev avatar Jun 07 '24 13:06 mxritzdev

And use FirstOrDefault instead of Any + FindIndex. This reduces the db calls. If the item is missing the return value would be null

Masu-Baumgartner avatar Jun 07 '24 14:06 Masu-Baumgartner

The FindIndex and Any are called on a local list instead of the db

mxritzdev avatar Jun 07 '24 15:06 mxritzdev

So it would not really make a difference

mxritzdev avatar Jun 07 '24 15:06 mxritzdev

Another thing is that all server using the image need to have their variables updated too as they would stop working if the image varaibles get updated

Masu-Baumgartner avatar Jun 07 '24 15:06 Masu-Baumgartner

Oh, i didnt thought about that, i will do that later/tomorrow

mxritzdev avatar Jun 07 '24 15:06 mxritzdev

Oki. Thx for the help with moonlight. Take your time ^^

Masu-Baumgartner avatar Jun 07 '24 15:06 Masu-Baumgartner

closed due to not needed anymore

mxritzdev avatar May 14 '25 18:05 mxritzdev