-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'vendor/whistle/' changes from ce0b2be01d..c646ec6560
c646ec6560 Release v2.9.56 98fd6f4cbe refactor: remove node-native-zip e438fedcc0 docs: w2 add --client b98c4184ac chore: ignore bin/import 0b13eba49d feat: support ipv6-only network 7efa8828fe feat: support esmodule 1fae083bfe docs: client 812dd3ccb6 Release v2.9.55 8bd7b9c018 refactor: update plugins 1d7a20a63d style: refine ui 9ee9ff87f4 Release v2.9.54 b9de59e821 Release v2.9.54 9e542adb9e feat: refine json tree 5975051f80 refactor: refine code 32ce2934ed fix: 暗色模式下,图片受滤镜影响,颜色不正确 4b1c5c0d96 Release v2.9.53 b098b871ac Release v2.9.53 13ab1b0777 feat: darm mode 2c7aff82dd feat: enable://forHttp|forHttps 0ab0004336 docs: update aeabb07810 Update expired link in README.md 5f7f3b3976 Release v2.9.52 d9628fe581 refactor: refine code f87496e4ff refactor: refine file://path ef77eeb064 Release v2.9.51 050a70fd03 Release v2.9.51 9be635db41 fix: avwo/whistle#912 d361eda074 Release v2.9.50 b83f7d11b6 Release v2.9.50 bf0dd13b03 feat: --uiport ip:port 5610a5b046 feat: --uiport ip:port d5d1bcb224 fix: http.request of Node v20.1.0 ef99f187b3 style: refine ui 5f6cd6a3ae refactor: refine ui 8e9fe8aba9 refactor: show the tunnel request of CAPTURE TUNNEL CONNECTS error b2e6e09f71 Release v2.9.49 5273d631be feat: refine editor history f158c7e5cf feat: add sharedStorage 9ac793ac4f fix: command line flags '--cluster' and '--config' 6b93f52608 refactor: refine code c4d939aea1 style: clear cache 9321baabd2 style: clear cache d64487f1a1 refactor: refine code 30ec22f25d refactor: refine code edcc53df53 feat:make the component——editor's history independent 99139f1e2a fix: conflict c73af9c1e6 refactor: refine code e305e8721e fix: headerReplace://req.host 335f8d8354 refactor: headerReplace://reqH.xxx === headerReplace://req.xxx e1c625ddbf Release v2.9.48 66fd5419b0 Release v2.9.48 bbaa81ad6f fix: socksv5 proxy f00e3565ab style: Compose -> Edit b79d6a347e style: exportSessions(sessions, type, name) 98d6244c68 refactor: refine code d9504761ae Release v2.9.47 4e397f001e feat: add activeList 42b40c3479 feat: add customData f4d0cc2a0a feat: add updateUI 3a069a61a5 Release v2.9.46 ef1ebfc87f refactor: refine tpl protocol 897ba0b001 feat: add copyText git-subtree-dir: vendor/whistle git-subtree-split: c646ec6560610b63ee0acaf614ae33fd8c46d848
- Loading branch information
Showing
94 changed files
with
3,384 additions
and
9,251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Windows上配置开机重启whistle | ||
首先,下载Windows上的whistle脚步文件:[whistle.zip](https://github.com/avwo/whistle/raw/avenwu/assets/launcher/windows/whistle.zip)。 | ||
首先,下载Windows上的whistle脚步文件:[whistle.zip](https://github.com/avwo/whistle/raw/master/assets/launcher/windows/whistle.zip)。 | ||
|
||
1. 解压whistle.zip获取whistle.bat的脚本文件,把该脚本文件拷贝一份到Windows的桌面,这样可以直接在Mac的桌面上刊登whistle的启动脚本,双击即可重启whistle(会先弹出一个命令行窗口,等3秒左右就会自动消失); | ||
1. 解压whistle.zip获取whistle.bat的脚本文件,把该脚本文件拷贝一份到Windows的桌面,这样可以直接在Windows的桌面上看到whistle的启动脚本,双击即可重启whistle(会先弹出一个命令行窗口,等3秒左右就会自动消失); | ||
|
||
2. 把桌面上的whistle.bat文件拖到桌面左下角的系统**开始菜单 --> 所有程序 --> 启动**目录下面,或者直接拷贝到系统目录`C:\Users\{yourAccount}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup`(可以直接在开始菜单或者文件管理器中的输入框输入`%appData%\Microsoft\Windows\Start Menu\Programs\Startup`快速定位到启动菜单目录),这样就配置好了开机自动重启whistle。 | ||
|
||
![设置Windows开机重启whistle](whistle.gif) | ||
![设置Windows开机重启whistle](whistle.gif) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
var fs = require('fs'); | ||
|
||
function importModle(filepath, callback) { | ||
return import(filepath).then(callback); | ||
} | ||
|
||
module.exports = function(filepath, callback) { | ||
try { | ||
return callback(require(filepath)); | ||
} catch (e) { | ||
var code =e && e.code; | ||
if (code === 'ERR_REQUIRE_ESM') { | ||
// ignore eslint & fix type=module | ||
return importModle(filepath, callback); | ||
} else if (code === 'MODULE_NOT_FOUND' && /\.js$/i.test(filepath)) { | ||
filepath = filepath.slice(0, -3) + '.mjs'; | ||
if (fs.existsSync(filepath)) { | ||
return importModle(filepath, callback); | ||
} | ||
} | ||
throw e; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.