소스 검색

Fixed notepadA wstty terminal interace implementation

TC pushbot 5 4 년 전
부모
커밋
c0b96b7954
5개의 변경된 파일37개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 0
      subservice/WsTTY/.gitignore
  2. 21 0
      subservice/WsTTY/LICENSE
  3. 5 0
      subservice/WsTTY/web/index.html
  4. 2 2
      web/NotepadA/index.html
  5. 5 1
      web/SystemAO/modules/subservices.html

+ 4 - 0
subservice/WsTTY/.gitignore

@@ -1 +1,5 @@
 src/*
+WsTTY.exe
+WsTTY_linux_amd64
+WsTTY_linux_arm
+WsTTY_linux_arm64

+ 21 - 0
subservice/WsTTY/LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 Open ArozOS
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 5 - 0
subservice/WsTTY/web/index.html

@@ -0,0 +1,5 @@
+<html>
+    <head>
+        <meta http-equiv="refresh" content="time; URL=console.html" />
+    </head>
+</html>

+ 2 - 2
web/NotepadA/index.html

@@ -72,8 +72,8 @@
                     
                 </div>
                 <div class="terminalWindow focused">
-                    <iframe id="initTerminal" src="../SystemAO/wstty/console.html">
-
+                    <iframe id="initTerminal" src="../wstty/">
+                        
                     </iframe>
                 </div>
             </div>

+ 5 - 1
web/SystemAO/modules/subservices.html

@@ -149,7 +149,11 @@
                         parent.initModuleList();
 
                         //Update the list
-                        initSubserviceList();
+                        setTimeout(function(){
+                            //Allow 1 seconds to it to startup
+                            initSubserviceList();
+                        }, 1000);
+                        
                     }
                 });
             }