@@ -32,10 +32,10 @@ switch (platform) {
32
32
case 'android' :
33
33
switch ( arch ) {
34
34
case 'arm64' :
35
- localFileExisted = existsSync ( join ( __dirname , '@noctisynth/ archons.android-arm64.node' ) )
35
+ localFileExisted = existsSync ( join ( __dirname , 'archons.android-arm64.node' ) )
36
36
try {
37
37
if ( localFileExisted ) {
38
- nativeBinding = require ( './@noctisynth/ archons.android-arm64.node' )
38
+ nativeBinding = require ( './archons.android-arm64.node' )
39
39
} else {
40
40
nativeBinding = require ( 'archons-android-arm64' )
41
41
}
@@ -44,10 +44,10 @@ switch (platform) {
44
44
}
45
45
break
46
46
case 'arm' :
47
- localFileExisted = existsSync ( join ( __dirname , '@noctisynth/ archons.android-arm-eabi.node' ) )
47
+ localFileExisted = existsSync ( join ( __dirname , 'archons.android-arm-eabi.node' ) )
48
48
try {
49
49
if ( localFileExisted ) {
50
- nativeBinding = require ( './@noctisynth/ archons.android-arm-eabi.node' )
50
+ nativeBinding = require ( './archons.android-arm-eabi.node' )
51
51
} else {
52
52
nativeBinding = require ( 'archons-android-arm-eabi' )
53
53
}
@@ -63,11 +63,11 @@ switch (platform) {
63
63
switch ( arch ) {
64
64
case 'x64' :
65
65
localFileExisted = existsSync (
66
- join ( __dirname , '@noctisynth/ archons.win32-x64-msvc.node' )
66
+ join ( __dirname , 'archons.win32-x64-msvc.node' )
67
67
)
68
68
try {
69
69
if ( localFileExisted ) {
70
- nativeBinding = require ( './@noctisynth/ archons.win32-x64-msvc.node' )
70
+ nativeBinding = require ( './archons.win32-x64-msvc.node' )
71
71
} else {
72
72
nativeBinding = require ( 'archons-win32-x64-msvc' )
73
73
}
@@ -77,11 +77,11 @@ switch (platform) {
77
77
break
78
78
case 'ia32' :
79
79
localFileExisted = existsSync (
80
- join ( __dirname , '@noctisynth/ archons.win32-ia32-msvc.node' )
80
+ join ( __dirname , 'archons.win32-ia32-msvc.node' )
81
81
)
82
82
try {
83
83
if ( localFileExisted ) {
84
- nativeBinding = require ( './@noctisynth/ archons.win32-ia32-msvc.node' )
84
+ nativeBinding = require ( './archons.win32-ia32-msvc.node' )
85
85
} else {
86
86
nativeBinding = require ( 'archons-win32-ia32-msvc' )
87
87
}
@@ -91,11 +91,11 @@ switch (platform) {
91
91
break
92
92
case 'arm64' :
93
93
localFileExisted = existsSync (
94
- join ( __dirname , '@noctisynth/ archons.win32-arm64-msvc.node' )
94
+ join ( __dirname , 'archons.win32-arm64-msvc.node' )
95
95
)
96
96
try {
97
97
if ( localFileExisted ) {
98
- nativeBinding = require ( './@noctisynth/ archons.win32-arm64-msvc.node' )
98
+ nativeBinding = require ( './archons.win32-arm64-msvc.node' )
99
99
} else {
100
100
nativeBinding = require ( 'archons-win32-arm64-msvc' )
101
101
}
@@ -108,21 +108,21 @@ switch (platform) {
108
108
}
109
109
break
110
110
case 'darwin' :
111
- localFileExisted = existsSync ( join ( __dirname , '@noctisynth/ archons.darwin-universal.node' ) )
111
+ localFileExisted = existsSync ( join ( __dirname , 'archons.darwin-universal.node' ) )
112
112
try {
113
113
if ( localFileExisted ) {
114
- nativeBinding = require ( './@noctisynth/ archons.darwin-universal.node' )
114
+ nativeBinding = require ( './archons.darwin-universal.node' )
115
115
} else {
116
116
nativeBinding = require ( 'archons-darwin-universal' )
117
117
}
118
118
break
119
119
} catch { }
120
120
switch ( arch ) {
121
121
case 'x64' :
122
- localFileExisted = existsSync ( join ( __dirname , '@noctisynth/ archons.darwin-x64.node' ) )
122
+ localFileExisted = existsSync ( join ( __dirname , 'archons.darwin-x64.node' ) )
123
123
try {
124
124
if ( localFileExisted ) {
125
- nativeBinding = require ( './@noctisynth/ archons.darwin-x64.node' )
125
+ nativeBinding = require ( './archons.darwin-x64.node' )
126
126
} else {
127
127
nativeBinding = require ( 'archons-darwin-x64' )
128
128
}
@@ -132,11 +132,11 @@ switch (platform) {
132
132
break
133
133
case 'arm64' :
134
134
localFileExisted = existsSync (
135
- join ( __dirname , '@noctisynth/ archons.darwin-arm64.node' )
135
+ join ( __dirname , 'archons.darwin-arm64.node' )
136
136
)
137
137
try {
138
138
if ( localFileExisted ) {
139
- nativeBinding = require ( './@noctisynth/ archons.darwin-arm64.node' )
139
+ nativeBinding = require ( './archons.darwin-arm64.node' )
140
140
} else {
141
141
nativeBinding = require ( 'archons-darwin-arm64' )
142
142
}
@@ -152,10 +152,10 @@ switch (platform) {
152
152
if ( arch !== 'x64' ) {
153
153
throw new Error ( `Unsupported architecture on FreeBSD: ${ arch } ` )
154
154
}
155
- localFileExisted = existsSync ( join ( __dirname , '@noctisynth/ archons.freebsd-x64.node' ) )
155
+ localFileExisted = existsSync ( join ( __dirname , 'archons.freebsd-x64.node' ) )
156
156
try {
157
157
if ( localFileExisted ) {
158
- nativeBinding = require ( './@noctisynth/ archons.freebsd-x64.node' )
158
+ nativeBinding = require ( './archons.freebsd-x64.node' )
159
159
} else {
160
160
nativeBinding = require ( 'archons-freebsd-x64' )
161
161
}
@@ -168,11 +168,11 @@ switch (platform) {
168
168
case 'x64' :
169
169
if ( isMusl ( ) ) {
170
170
localFileExisted = existsSync (
171
- join ( __dirname , '@noctisynth/ archons.linux-x64-musl.node' )
171
+ join ( __dirname , 'archons.linux-x64-musl.node' )
172
172
)
173
173
try {
174
174
if ( localFileExisted ) {
175
- nativeBinding = require ( './@noctisynth/ archons.linux-x64-musl.node' )
175
+ nativeBinding = require ( './archons.linux-x64-musl.node' )
176
176
} else {
177
177
nativeBinding = require ( 'archons-linux-x64-musl' )
178
178
}
@@ -181,11 +181,11 @@ switch (platform) {
181
181
}
182
182
} else {
183
183
localFileExisted = existsSync (
184
- join ( __dirname , '@noctisynth/ archons.linux-x64-gnu.node' )
184
+ join ( __dirname , 'archons.linux-x64-gnu.node' )
185
185
)
186
186
try {
187
187
if ( localFileExisted ) {
188
- nativeBinding = require ( './@noctisynth/ archons.linux-x64-gnu.node' )
188
+ nativeBinding = require ( './archons.linux-x64-gnu.node' )
189
189
} else {
190
190
nativeBinding = require ( 'archons-linux-x64-gnu' )
191
191
}
@@ -197,11 +197,11 @@ switch (platform) {
197
197
case 'arm64' :
198
198
if ( isMusl ( ) ) {
199
199
localFileExisted = existsSync (
200
- join ( __dirname , '@noctisynth/ archons.linux-arm64-musl.node' )
200
+ join ( __dirname , 'archons.linux-arm64-musl.node' )
201
201
)
202
202
try {
203
203
if ( localFileExisted ) {
204
- nativeBinding = require ( './@noctisynth/ archons.linux-arm64-musl.node' )
204
+ nativeBinding = require ( './archons.linux-arm64-musl.node' )
205
205
} else {
206
206
nativeBinding = require ( 'archons-linux-arm64-musl' )
207
207
}
@@ -210,11 +210,11 @@ switch (platform) {
210
210
}
211
211
} else {
212
212
localFileExisted = existsSync (
213
- join ( __dirname , '@noctisynth/ archons.linux-arm64-gnu.node' )
213
+ join ( __dirname , 'archons.linux-arm64-gnu.node' )
214
214
)
215
215
try {
216
216
if ( localFileExisted ) {
217
- nativeBinding = require ( './@noctisynth/ archons.linux-arm64-gnu.node' )
217
+ nativeBinding = require ( './archons.linux-arm64-gnu.node' )
218
218
} else {
219
219
nativeBinding = require ( 'archons-linux-arm64-gnu' )
220
220
}
@@ -226,11 +226,11 @@ switch (platform) {
226
226
case 'arm' :
227
227
if ( isMusl ( ) ) {
228
228
localFileExisted = existsSync (
229
- join ( __dirname , '@noctisynth/ archons.linux-arm-musleabihf.node' )
229
+ join ( __dirname , 'archons.linux-arm-musleabihf.node' )
230
230
)
231
231
try {
232
232
if ( localFileExisted ) {
233
- nativeBinding = require ( './@noctisynth/ archons.linux-arm-musleabihf.node' )
233
+ nativeBinding = require ( './archons.linux-arm-musleabihf.node' )
234
234
} else {
235
235
nativeBinding = require ( 'archons-linux-arm-musleabihf' )
236
236
}
@@ -239,11 +239,11 @@ switch (platform) {
239
239
}
240
240
} else {
241
241
localFileExisted = existsSync (
242
- join ( __dirname , '@noctisynth/ archons.linux-arm-gnueabihf.node' )
242
+ join ( __dirname , 'archons.linux-arm-gnueabihf.node' )
243
243
)
244
244
try {
245
245
if ( localFileExisted ) {
246
- nativeBinding = require ( './@noctisynth/ archons.linux-arm-gnueabihf.node' )
246
+ nativeBinding = require ( './archons.linux-arm-gnueabihf.node' )
247
247
} else {
248
248
nativeBinding = require ( 'archons-linux-arm-gnueabihf' )
249
249
}
@@ -255,11 +255,11 @@ switch (platform) {
255
255
case 'riscv64' :
256
256
if ( isMusl ( ) ) {
257
257
localFileExisted = existsSync (
258
- join ( __dirname , '@noctisynth/ archons.linux-riscv64-musl.node' )
258
+ join ( __dirname , 'archons.linux-riscv64-musl.node' )
259
259
)
260
260
try {
261
261
if ( localFileExisted ) {
262
- nativeBinding = require ( './@noctisynth/ archons.linux-riscv64-musl.node' )
262
+ nativeBinding = require ( './archons.linux-riscv64-musl.node' )
263
263
} else {
264
264
nativeBinding = require ( 'archons-linux-riscv64-musl' )
265
265
}
@@ -268,11 +268,11 @@ switch (platform) {
268
268
}
269
269
} else {
270
270
localFileExisted = existsSync (
271
- join ( __dirname , '@noctisynth/ archons.linux-riscv64-gnu.node' )
271
+ join ( __dirname , 'archons.linux-riscv64-gnu.node' )
272
272
)
273
273
try {
274
274
if ( localFileExisted ) {
275
- nativeBinding = require ( './@noctisynth/ archons.linux-riscv64-gnu.node' )
275
+ nativeBinding = require ( './archons.linux-riscv64-gnu.node' )
276
276
} else {
277
277
nativeBinding = require ( 'archons-linux-riscv64-gnu' )
278
278
}
@@ -283,11 +283,11 @@ switch (platform) {
283
283
break
284
284
case 's390x' :
285
285
localFileExisted = existsSync (
286
- join ( __dirname , '@noctisynth/ archons.linux-s390x-gnu.node' )
286
+ join ( __dirname , 'archons.linux-s390x-gnu.node' )
287
287
)
288
288
try {
289
289
if ( localFileExisted ) {
290
- nativeBinding = require ( './@noctisynth/ archons.linux-s390x-gnu.node' )
290
+ nativeBinding = require ( './archons.linux-s390x-gnu.node' )
291
291
} else {
292
292
nativeBinding = require ( 'archons-linux-s390x-gnu' )
293
293
}
0 commit comments