Skip to content

Commit a37e06d

Browse files
committed
Remove .pdb files from windows releases
1 parent b9ddc91 commit a37e06d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/package.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ defmodule Desktop.Deployment.Package do
122122
File.rename!(name, new_name)
123123
end)
124124

125+
# Removing pdb files
126+
for name <- wildcard(rel, "**/*.pdb") do
127+
File.rm!(name)
128+
end
129+
125130
cp!(toolpath("rel/win32/run.vbs"), rel_path)
126131
content = eval_eex(toolpath("rel/win32/run.bat.eex"), rel, pkg)
127132
File.write!(Path.join(rel_path, "run.bat"), content)

0 commit comments

Comments
 (0)