Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Oct 17, 2024
1 parent c54847a commit 152ff25
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Place your settings in this file to overwrite the default settings
{
"editor.formatOnSave": true,
"editor.formatOnSave": false,
"C_Cpp.clang_format_sortIncludes": false,
"C_Cpp.clang_format_fallbackStyle": "WebKit",
"files.associations": {
Expand Down Expand Up @@ -70,6 +70,16 @@
"valarray": "cpp",
"variant": "cpp",
"algorithm": "cpp",
"codecvt": "cpp"
"codecvt": "cpp",
"*.tcc": "cpp",
"*.inc": "cpp",
"cinttypes": "cpp",
"memory": "cpp",
"print": "cpp",
"source_location": "cpp",
"stack": "cpp",
"postject-api.h": "c",
"getsect.h": "c",
"iterator": "cpp"
}
}
2 changes: 1 addition & 1 deletion install.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ async function install_addon() {
const tpath = path.join(__dirname, packageJson.binary.module_path);
const tname = path.join(tpath, path.basename(file.filename));

fs.mkdirSync(path.dirname(tpath), { recursive: true });
fs.mkdirSync(tpath, { recursive: true });
fs.writeFileSync(tname, file.fileData);
fs.chmodSync(tname, parseInt(file.mode, 8));

Expand Down

0 comments on commit 152ff25

Please sign in to comment.