File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -337,14 +337,20 @@ done
337
337
find " $SNAP_USER_COMMON /.local/share/icons/hicolor" -type f -name " steam_icon_*.png" | while read -r file; do
338
338
dest=" ${file/ $SNAP_USER_COMMON / $SNAP_REAL_HOME } "
339
339
ensure_dir_exists " $( dirname $dest ) "
340
- ln -sf " $file " " $dest "
340
+ cp " $file " " $dest "
341
341
done
342
342
343
343
# Link .desktop files to host
344
- ln -f $SNAP_USER_COMMON /.local/share/applications/* $SNAP_REAL_HOME /.local/share/applications/
344
+ mkdir $SNAP_REAL_HOME /.local/share/applications/
345
+ cp $SNAP_USER_COMMON /.local/share/applications/* $SNAP_REAL_HOME /.local/share/applications/
345
346
346
347
# Link .desktop files to $SNAP_REAL_HOME
347
- ln -f $SNAP_USER_COMMON /Desktop/* $SNAP_REAL_HOME /
348
+ cp $SNAP_USER_COMMON /Desktop/* $SNAP_REAL_HOME /
349
+
350
+ # Delete the original icon and shortcut files so they don't get regenerated.
351
+ rm -r $SNAP_USER_COMMON /.local/share/icons/*
352
+ rm $SNAP_USER_COMMON /.local/share/applications/*
353
+ rm $SNAP_USER_COMMON /Desktop/*
348
354
349
355
# GTK theme and behavior modifier
350
356
# Those can impact the theme engine used by Qt as well
You can’t perform that action at this time.
0 commit comments