Skip to content

Commit

Permalink
sand: Stop adding a mount for .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Oct 26, 2024
1 parent a63a692 commit 94ad2c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sandwine/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,12 @@ def create_bwrap_argv(config):
real_argv_0 = os.path.abspath(config.argv_0)
mount_tasks += [
MountTask(MountMode.BIND_RO, real_argv_0, required=False),
MountTask(MountMode.BIND_RO, real_argv_0 + ".exe", required=False),
MountTask(MountMode.BIND_RO, real_argv_0 + ".EXE", required=False),
]
if config.with_wine:
mount_tasks += [
MountTask(MountMode.BIND_RO, real_argv_0 + ".exe", required=False),
MountTask(MountMode.BIND_RO, real_argv_0 + ".EXE", required=False),
]

# Linux Namespaces
argv.add(*unshare_args)
Expand Down

0 comments on commit 94ad2c5

Please sign in to comment.