Skip to content

Commit

Permalink
trailing whitespace next try
Browse files Browse the repository at this point in the history
  • Loading branch information
GB609 authored Nov 27, 2024
1 parent 9c27f5e commit 9f66feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minigalaxy/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def extract_by_wine(game, installer, temp_dir):
prefix_dir = os.path.join(game.install_dir, "prefix")
"""pick a letter that is unlikely to create collisions with the actual mount/hw setup:
wine creates links for mounted media and optical drives
this might lead to errors because wine knows 2 names for these - d: and d::
this might lead to errors because wine knows 2 names for these - d: and d::
(difference: : exposes directory, :: exposes the block device itself)
But they can't exist at the same time within a prefix.
Changing this letter is a temporary fix, the entire install method requires an overhaul in the long run"""
Expand All @@ -208,7 +208,7 @@ def extract_by_wine(game, installer, temp_dir):
if exitcode not in [0]:
err_msg = _("Wine extraction failed.")
elif os.path.exists(drive):
"""check for existence as a pure safety-measure in case
"""check for existence as a pure safety-measure in case
some power-user has pre-configured the letter we picked with double colon"""
os.unlink(drive)
os.symlink("../../..", drive)
Expand Down

0 comments on commit 9f66feb

Please sign in to comment.