mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-07-02 14:34:13 +02:00
Updated console image build script
This commit is contained in:
parent
91b3e40774
commit
87c6ea1126
@ -4,7 +4,7 @@ import sys
|
||||
import shutil
|
||||
|
||||
packages = {
|
||||
"rns": "rns-0.5.5-py3-none-any.whl",
|
||||
"rns": "rns-0.5.6-py3-none-any.whl",
|
||||
"nomadnet": "nomadnet-0.3.5-py3-none-any.whl",
|
||||
"lxmf": "lxmf-0.3.1-py3-none-any.whl",
|
||||
"rnsh": "rnsh-0.1.1-py3-none-any.whl",
|
||||
@ -200,6 +200,7 @@ def optimise_manual(path):
|
||||
remove_files = [
|
||||
"objects.inv",
|
||||
"Reticulum Manual.pdf",
|
||||
"Reticulum Manual.epub",
|
||||
"_static/styles/furo.css.map",
|
||||
"_static/scripts/furo.js.map",
|
||||
"_static/jquery-3.6.0.js",
|
||||
@ -211,7 +212,10 @@ def optimise_manual(path):
|
||||
for file in remove_files:
|
||||
fp = path+"/"+file
|
||||
print("Removing file: "+str(fp))
|
||||
try:
|
||||
os.unlink(fp)
|
||||
except Exception as e:
|
||||
print("An error occurred while attempting to unlink "+str(fp)+": "+str(e))
|
||||
|
||||
remove_dirs = [
|
||||
"_sources",
|
||||
|
Loading…
Reference in New Issue
Block a user