File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "targets" : [
33 {
4- "target_name" : "@filemap/ winicon" ,
4+ "target_name" : "winicon" ,
55 "sources" : ["src/winicon.cc" ],
66 "include_dirs" : [
77 "<!(node -p \" require('node-addon-api').include\" )"
88 ],
99 "dependencies" : [
1010 "<!(node -p \" require('node-addon-api').gyp\" )"
1111 ],
12- "link_settings" : {
13- "libraries" : []
14- },
12+ "defines" : ["NAPI_DISABLE_CPP_EXCEPTIONS" ],
1513 "conditions" : [
1614 ["OS=='win'" , {
1715 "defines" : ["WIN32" ],
Original file line number Diff line number Diff line change @@ -4,4 +4,8 @@ import { $, quote } from 'zx';
44
55$ . quote = quote ;
66
7- await $ `yarn prebuildify --strip --napi --arch x64` ;
7+ try {
8+ await $ `yarn prebuildify --strip --napi --arch x64` ;
9+ } catch ( err ) {
10+ console . error ( 'Build failed:' , err ) ;
11+ }
You can’t perform that action at this time.
0 commit comments