File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ echo -------------------------------------------------------------------------------------------------------------------
4
+ echo -------------------------------------------------------------------------------------------------------------------
5
+ echo -
6
+ echo Thank you for using InteractiveHtmlBom
7
+ echo https://github.com/openscopeproject/InteractiveHtmlBom
8
+ echo Bat file by Scarrrr0725
9
+ echo -
10
+ echo --------------------------------------------------------------------------------------------------------------------
11
+ echo --------------------------------------------------------------------------------------------------------------------
12
+
13
+ :: delete --show-dialog after frist start up and setting
14
+ set option = --show-dialog
15
+
16
+ set FilePath = %~dp0
17
+ set pyFilePath = %FilePath% generate_interactive_bom.py
18
+
19
+ :convert
20
+ set /p pathofEDASourceFile = Please Drag the EasyEDA PCB source file here :
21
+
22
+ echo Converting. . . . . . . . . .
23
+ python %pyFilePath% %pathofEDASourceFile% %option%
24
+
25
+ echo -------------------------------------------------------------------------------------------------------------------
26
+ echo -------------------------------------------------------------------------------------------------------------------
27
+ echo -
28
+ echo EDA source file is converted to bom successfully!
29
+ echo -
30
+ echo -------------------------------------------------------------------------------------------------------------------
31
+ echo -------------------------------------------------------------------------------------------------------------------
32
+
33
+ CHOICE /C YN /N /M " Do you want to convert another file? [Y/N"
34
+ if errorlevel 2 exit
35
+ if errorlevel 1 goto convert
You can’t perform that action at this time.
0 commit comments