mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 19:45:27 +00:00
Put assets in their own directory
This commit is contained in:
parent
6c82664001
commit
6d059e3d6b
@ -41,7 +41,7 @@ def embed_assets(index_file):
|
|||||||
'monkeypatch.js',
|
'monkeypatch.js',
|
||||||
'pako.min.js',
|
'pako.min.js',
|
||||||
]:
|
]:
|
||||||
path = os.path.join(SCRIPT_PATH, filename)
|
path = os.path.join(SCRIPT_PATH, 'assets', filename)
|
||||||
init_files[filename] = open(path, 'r').read()
|
init_files[filename] = open(path, 'r').read()
|
||||||
|
|
||||||
base_dir = os.path.dirname(index_file)
|
base_dir = os.path.dirname(index_file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user