mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-01 12:23:22 +08:00
Remove old symbols when generating symbols.
This commit is contained in:
@@ -207,11 +207,13 @@ def download_libchromiumcontent_symbols(url):
|
||||
|
||||
|
||||
def create_symbols():
|
||||
directory = 'Atom-Shell.breakpad.syms'
|
||||
rm_rf(os.path.join(OUT_DIR, directory))
|
||||
|
||||
build = os.path.join(SOURCE_ROOT, 'script', 'build.py')
|
||||
subprocess.check_output([sys.executable, build, '-c', 'Release',
|
||||
'-t', 'atom_dump_symbols'])
|
||||
|
||||
directory = 'Atom-Shell.breakpad.syms'
|
||||
shutil.copytree(os.path.join(OUT_DIR, directory),
|
||||
os.path.join(DIST_DIR, directory),
|
||||
symlinks=True)
|
||||
|
||||
Reference in New Issue
Block a user