+
    KiA  c                   s@    R t ^ RIt^ RIHt ^ RIHt ^ RIHtHt R t	R# )z?Replace the Wine version 'GE-Proton (Latest)' with 'ge-proton'.N)settings)get_games_by_runner)read_yaml_from_filewrite_yaml_to_filec                 s    \         P                  P                  \        P                  R4      .p \        R4       FX  pVP                  R4      pV P                  \         P                  P                  \        P                  RV,          4      4       KZ  	  V  F  p \         P                  P                  V4      '       dl   \        V4      pVP                  R4      pV'       dF   VP                  R4      pV'       d+   VP                  4       R8X  d   RVR&   \        WCR7       K  K  K  K  K  	  R#   \         d   p\        R	T R
T 24        Rp?K  Rp?ii ; i  \         d   p\        RT 24       . u Rp?# Rp?ii ; i)zRun migrationzrunners/wine.ymlwineZ
configpathzgames/%s.ymlversionzge-proton (latest)z	ge-proton)Zfilepathz6Failed to convert GE-Proton (Latest) to ge-proton in 'z': Nz3Failed to convert GE-Proton (Latest) to ge-proton: )osZpathZjoinr    Z
CONFIG_DIRr   ZgetZappendZisfiler   Zcasefoldr   Z	ExceptionZprint)Zconfig_pathsZdb_gameZconfig_filenameZconfig_pathZconfigr   r   Zexs           H/usr/lib/python3.14/site-packages/lutris/migrations/migrate_ge_proton.pymigrater   
   sD   X%8%8:LMN*62G%kk,7OX-@-@.SbBb cd 3 (K
e77>>+..0=F!::f-D"&((9"5"w'7'7'9=Q'Q.9DO.vL (R7  / (  eN{m[^_a^bcdde CB4HI	sO   BE A!D4 &D4&E 4E?EE EE F)E>8F>F)
Z__doc__r   Zlutrisr    Zlutris.database.gamesr   Zlutris.util.yamlr   r   r   )     r   <module>r
      s    E 	  5 Dr	   