Skip to content

Commit

Permalink
fix: external resource
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Dec 3, 2023
1 parent d2a6237 commit cc43898
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

Repacked version of [uWebSocket.js](https://github.com/uNetworking/uWebSockets.js).

Pre-compiled binaries: [https://github.com/softvisio-node/uws/releases/tag/resources](https://github.com/softvisio-node/uws/releases/tag/resources).

## Install

```shell
Expand Down
4 changes: 2 additions & 2 deletions bin/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
import externalResources from "@softvisio/utils/external-resources";

externalResources.add( {
"id": "softvisio-node/uws/resources",
"id": "softvisio-node/uws",
"node": true,
} );

// under windows download linux binaries for vmware
if ( process.platform === "win32" ) {
externalResources.add( {
"id": "softvisio-node/uws/resources",
"id": "softvisio-node/uws",
"node": true,
"platform": "linux",
} );
Expand Down
2 changes: 0 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

Repacked version of [uWebSocket.js](https://github.com/uNetworking/uWebSockets.js).

Pre-compiled binaries: [https://github.com/softvisio-node/uws/releases/tag/resources](https://github.com/softvisio-node/uws/releases/tag/resources).

## Install

```shell
Expand Down
2 changes: 1 addition & 1 deletion lib/uws.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import require from "./require.cjs";

const resource = await externalResources
.add( {
"id": "softvisio-node/uws/resources",
"id": "softvisio-node/uws",
"node": true,
} )
.check();
Expand Down

0 comments on commit cc43898

Please sign in to comment.