|
@@ -973,6 +973,12 @@ export default {
|
|
const remoteAppName = REMOTE_APP_NAME;
|
|
const remoteAppName = REMOTE_APP_NAME;
|
|
exe = `Project2.exe "${remoteAppName}" `;
|
|
exe = `Project2.exe "${remoteAppName}" `;
|
|
}
|
|
}
|
|
|
|
+ const fs = window.nodeRequire("fs");
|
|
|
|
+ try {
|
|
|
|
+ fs.unlinkSync("remoteApplication.txt");
|
|
|
|
+ } catch (error) {
|
|
|
|
+ console.log(error);
|
|
|
|
+ }
|
|
await nativeExe(exe, checkRemoteAppTxt.bind(this));
|
|
await nativeExe(exe, checkRemoteAppTxt.bind(this));
|
|
} else {
|
|
} else {
|
|
this.disableLoginBtnBecauseRemoteApp = false;
|
|
this.disableLoginBtnBecauseRemoteApp = false;
|