Skip to content

Commit

Permalink
🛠️ main.js -> Updated craft info extraction function
Browse files Browse the repository at this point in the history
🛠️ package.json -> Added project metadata and scripts
  • Loading branch information
g9aerospace committed Mar 14, 2024
1 parent 42cb0ef commit 95aa8f9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs').promises;
const path = require('path');

// Function to extract part names from the craft file
// Function to extract craft info from the craft file
function extractCraftInfo(data) {
console.log('Extracting craft information...');
const info = {};
Expand Down
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,15 @@
"electron": "^29.1.3",
"electron-dialog": "^2.0.0",
"express": "^4.18.3"
}
},
"name": "craft-file-reader",
"version": "1.0.0",
"main": "main.js",
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": ""
}

0 comments on commit 95aa8f9

Please sign in to comment.