mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-07 12:25:07 +08:00
Used move instead of copytree since copy loses symlinks
This commit is contained in:
@@ -1314,7 +1314,7 @@ class InternalCommands:
|
||||
shutil.rmtree(dist)
|
||||
|
||||
os.makedirs(dist)
|
||||
shutil.copytree(dir + "/" + name + ".app", dist + "/" + name + ".app")
|
||||
shutil.move(dir + "/" + name + ".app", dist + "/" + name + ".app")
|
||||
|
||||
self.try_chdir(dist)
|
||||
err = os.system("ln -s /Applications")
|
||||
|
||||
Reference in New Issue
Block a user