Skip to content

Commit

Permalink
PCM tweaks for this system
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettR committed Oct 31, 2022
1 parent d5a1c72 commit e2cae51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions pcm/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
from os import path
import shutil

src_path = path.join(path.dirname(__file__),'..','Stretch')
src_path = path.join(os.path.abspath(path.dirname(__file__)),'..','Stretch')

metadata_template = path.join(path.dirname(__file__),'metadata_template.json')
resources_path = path.join(path.dirname(__file__),'resources')
#print(src_path)
metadata_template = path.join(os.path.abspath(path.dirname(__file__)),'metadata_template.json')
resources_path = path.join(os.path.abspath(path.dirname(__file__)),'resources')
print(src_path)

build_path = path.join('build')
build_path = os.path.abspath(path.join('build'))

try:
shutil.rmtree(build_path)
Expand All @@ -22,7 +22,7 @@
os.mkdir(path.join(build_path,'plugin'))
os.chdir(build_path)

shutil.copytree(src_path, path.join('plugin','plugins'))
shutil.copytree(src_path, path.join(os.path.abspath('plugin'),'plugins'))

# clean out any __pycache__ or .pyc files (https://stackoverflow.com/a/41386937)
import pathlib
Expand Down
2 changes: 1 addition & 1 deletion pcm/metadata_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"versions": [
{
"version": "1.0.0",
"version": "1.2",
"status": "stable",
"kicad_version": "6.0"
}
Expand Down
Binary file modified pcm/resources/bitmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e2cae51

Please sign in to comment.