Skip to content

Commit f5a6c35

Browse files
committed
support antsword_win32 client
1 parent 5c6a68f commit f5a6c35

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

clients/client_darwin_x64

101 KB
Binary file not shown.

clients/client_linux_x64

1000 KB
Binary file not shown.

clients/client_linux_x86

858 KB
Binary file not shown.

clients/client_win32_x64.exe

7.28 MB
Binary file not shown.

libs/ui.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ const child_process = require("child_process");
1010

1111
class UI {
1212
constructor(opt){
13-
if(antSword.remote.process.platform == "windows"){
14-
toastr.error(LANG['error_not_support_windows'], antSword['language']['toastr']['error']);
15-
return {
16-
onStart: (func)=>{},
17-
onAbout: () => {}
18-
}
19-
}
13+
// if(antSword.remote.process.platform == "win32"){
14+
// toastr.error(LANG['error_not_support_windows'], antSword['language']['toastr']['error']);
15+
// return {
16+
// onStart: (func)=>{},
17+
// onAbout: () => {}
18+
// }
19+
// }
2020

2121
this.shellip = opt["ip"];
2222
this.statuschecker = null;
@@ -209,7 +209,7 @@ class UI {
209209
antSword['storage']('superterm_ts_address', formvals['ts_address']);
210210
antSword['storage']('superterm_ts_port', formvals['ts_port']);
211211
var clientpath = path.join(__dirname, `../clients/client_${antSword.remote.process.platform}_${antSword.remote.process.arch}`)
212-
if(antSword.remote.process.platform == "windows"){
212+
if(antSword.remote.process.platform == "win32"){
213213
clientpath = clientpath + ".exe";
214214
}
215215
var hash = String(Math.random()).substr(2, 10);

servers/peerserver_darwin_x64.zip

323 Bytes
Binary file not shown.

servers/peerserver_linux_x64.zip

1.1 KB
Binary file not shown.

servers/peerserver_linux_x86.zip

484 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)