+
    Ki  c                   s0    R t ^ RIt^ RIHt ^ RIHt R tR# )zMMigrate Proton versions from the old runners/proton directory to runners/wineN)settings)loggerc                  s   \         P                  P                  \        P                  R 4      p \        P
                  p\         P                  P                  V 4      '       g   R#  \         P                  ! VRR7       \         P                  ! V 4       F  p\         P                  P                  W4      p\         P                  P                  W4      p\         P                  P                  V4      '       g   Kh  \         P                  P                  V4      '       d   \        P                  ! RW!4       K  \        P                  ! RW!4       \         P                  ! W44       K  	  \         P                  ! V 4      '       g   \         P                  ! V 4       R# R#   \         d#   p\        P                  ! RT4        Rp?R# Rp?ii ; i)ZprotonNT)Zexist_okz#Skipping '%s', already exists in %sz Moving Proton version '%s' to %sz%Failed to migrate Proton versions: %s)osZpathZjoinr    Z
RUNNER_DIRZWINE_DIRZisdirZmakedirsZlistdirZexistsr   ZinfoZrenameZrmdirZOSErrorZ	exception)Zsrc_dirZdest_dirZentryZsrc_pathZ	dest_pathZexs         Q/usr/lib/python3.14/site-packages/lutris/migrations/migrate_proton_to_wine_dir.pymigrater   	   s#   ggll8..9G  H77==!!F
Ht,ZZ(Eww||G3HX5I77==**ww~~i((A5S>P		(. ) zz'""HHW # F@"EEFs&   'B:F" "A%F" F" "G-G

G)Z__doc__r   Zlutrisr    Zlutris.util.logr   r   )     r   <module>r      s    S 	  "Fr   