Skip to content

Commit

Permalink
取消安装的时候编译
Browse files Browse the repository at this point in the history
  • Loading branch information
ailieg committed Oct 17, 2024
1 parent 9a21737 commit 06806ef
Show file tree
Hide file tree
Showing 20 changed files with 1,343 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ index.json
.vscode
cmake-build-debug
node_modules
dist
/package-lock.json
/.idea/
28 changes: 28 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { Tuntap } from './src/ts/linux/Tuntap';
/**
* Tun interface, a Layer 2 virtual interface.
* @class LinuxTun
* @extends {TuntapB}
*/
declare class LinuxTun extends Tuntap {
constructor();
/**
* setting the mac of a Tun interface is illegal as tun devices is running on layer 3
* @throws 'method not support by a tun device.'
* @memberof LinuxTun
* @since 0.1.0
*/
set mac(mac: string);
}
/**
* Tap interface, a Layer 2 virtual interface.
* The tap device allows
* @class LinuxTap
* @extends {TuntapB}
*/
declare class LinuxTap extends Tuntap {
constructor();
}
declare const LinuxTunTap: (options: any) => Tuntap;
declare const Wintun: import("./src/ts/win/WintunAddon").WintunAddonTypes;
export { LinuxTap, LinuxTun, LinuxTunTap, Wintun };
86 changes: 86 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 06806ef

Please sign in to comment.