manageos 2.4.2 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/packages/windows/BUILD_TOOLS/build.bat +1 -5
- package/packages/windows/BUILD_TOOLS/clean.bat +0 -1
- package/packages/windows/dist/Keyboard/keyboard.exe +0 -0
- package/packages/windows/dist/Mouse/mouse.exe +0 -0
- package/packages/windows/dist/Server/HTTP/http.exe +0 -0
- package/packages/windows/dist/clipboard.d.ts.map +1 -1
- package/packages/windows/dist/clipboard.js +28 -17
- package/packages/windows/dist/clipboard.js.map +1 -1
- package/packages/windows/dist/screen.d.ts.map +1 -1
- package/packages/windows/dist/screen.js +5 -10
- package/packages/windows/dist/screen.js.map +1 -1
- package/packages/windows/dist/taskscheduler.d.ts.map +1 -1
- package/packages/windows/dist/taskscheduler.js +1 -2
- package/packages/windows/dist/taskscheduler.js.map +1 -1
- package/packages/windows/docs/classes/Android.default.html +1 -1
- package/packages/windows/docs/classes/Android_adb.default.html +1 -1
- package/packages/windows/docs/classes/Android_fastboot.default.html +1 -1
- package/packages/windows/docs/classes/Keyboard.default.html +1 -1
- package/packages/windows/docs/classes/Mouse.default.html +1 -1
- package/packages/windows/docs/classes/PsExec.default.html +1 -1
- package/packages/windows/docs/classes/PsExec_psexec.default.html +1 -1
- package/packages/windows/docs/classes/PsExec_psfile.default.html +1 -1
- package/packages/windows/docs/classes/PsExec_psgetsid.default.html +1 -1
- package/packages/windows/docs/classes/PsExec_psinfo.default.html +1 -1
- package/packages/windows/docs/classes/Server.default.html +1 -1
- package/packages/windows/docs/classes/Server_FTP.default.html +1 -1
- package/packages/windows/docs/classes/Server_HTTP.default.html +1 -1
- package/packages/windows/docs/classes/antivirus.default.html +1 -1
- package/packages/windows/docs/classes/audio.default.html +1 -1
- package/packages/windows/docs/classes/auditpolicy.default.html +1 -1
- package/packages/windows/docs/classes/bitlocker.default.html +1 -1
- package/packages/windows/docs/classes/camera.default.html +1 -1
- package/packages/windows/docs/classes/certificates.default.html +1 -1
- package/packages/windows/docs/classes/clipboard.default.html +3 -3
- package/packages/windows/docs/classes/encryption.default.html +1 -1
- package/packages/windows/docs/classes/eventlogs.default.html +1 -1
- package/packages/windows/docs/classes/filesystem.default.html +1 -1
- package/packages/windows/docs/classes/firewall.default.html +1 -1
- package/packages/windows/docs/classes/index.default.html +1 -1
- package/packages/windows/docs/classes/joystick.default.html +1 -1
- package/packages/windows/docs/classes/localization.default.html +1 -1
- package/packages/windows/docs/classes/microphone.default.html +1 -1
- package/packages/windows/docs/classes/msconfig.default.html +1 -1
- package/packages/windows/docs/classes/network.default.html +1 -1
- package/packages/windows/docs/classes/notification.default.html +1 -1
- package/packages/windows/docs/classes/power.default.html +1 -1
- package/packages/windows/docs/classes/printer.default.html +1 -1
- package/packages/windows/docs/classes/regedit.default.html +1 -1
- package/packages/windows/docs/classes/scheduler.default.html +1 -1
- package/packages/windows/docs/classes/screen.default.html +3 -3
- package/packages/windows/docs/classes/secpol.default.html +1 -1
- package/packages/windows/docs/classes/services.default.html +1 -1
- package/packages/windows/docs/classes/shell.default.html +1 -1
- package/packages/windows/docs/classes/startup.default.html +1 -1
- package/packages/windows/docs/classes/taskmgr.default.html +1 -1
- package/packages/windows/docs/classes/taskscheduler.default.html +3 -3
- package/packages/windows/docs/classes/uac.default.html +1 -1
- package/packages/windows/docs/classes/usb.default.html +1 -1
- package/packages/windows/docs/classes/users.default.html +1 -1
- package/packages/windows/docs/classes/windowsupdate.default.html +1 -1
- package/packages/windows/docs/functions/systeminfo.default.html +1 -1
- package/packages/windows/docs/hierarchy.html +1 -1
- package/packages/windows/docs/index.html +1 -1
- package/packages/windows/docs/interfaces/Server_FTP.FTPOptions.html +1 -1
- package/packages/windows/docs/interfaces/joystick.JoystickDevice.html +1 -1
- package/packages/windows/docs/interfaces/taskscheduler.TaskInfo.html +3 -3
- package/packages/windows/docs/modules/Android.html +1 -1
- package/packages/windows/docs/modules/Android_adb.html +1 -1
- package/packages/windows/docs/modules/Android_fastboot.html +1 -1
- package/packages/windows/docs/modules/Keyboard.html +1 -1
- package/packages/windows/docs/modules/Mouse.html +1 -1
- package/packages/windows/docs/modules/PsExec.html +1 -1
- package/packages/windows/docs/modules/PsExec_psexec.html +1 -1
- package/packages/windows/docs/modules/PsExec_psfile.html +1 -1
- package/packages/windows/docs/modules/PsExec_psgetsid.html +1 -1
- package/packages/windows/docs/modules/PsExec_psinfo.html +1 -1
- package/packages/windows/docs/modules/Server.html +1 -1
- package/packages/windows/docs/modules/Server_FTP.html +1 -1
- package/packages/windows/docs/modules/Server_HTTP.html +1 -1
- package/packages/windows/docs/modules/antivirus.html +1 -1
- package/packages/windows/docs/modules/audio.html +1 -1
- package/packages/windows/docs/modules/auditpolicy.html +1 -1
- package/packages/windows/docs/modules/bitlocker.html +1 -1
- package/packages/windows/docs/modules/camera.html +1 -1
- package/packages/windows/docs/modules/certificates.html +1 -1
- package/packages/windows/docs/modules/clipboard.html +1 -1
- package/packages/windows/docs/modules/encryption.html +1 -1
- package/packages/windows/docs/modules/eventlogs.html +1 -1
- package/packages/windows/docs/modules/filesystem.html +1 -1
- package/packages/windows/docs/modules/firewall.html +1 -1
- package/packages/windows/docs/modules/index-1.html +1 -1
- package/packages/windows/docs/modules/index.html +1 -1
- package/packages/windows/docs/modules/joystick.html +1 -1
- package/packages/windows/docs/modules/localization.html +1 -1
- package/packages/windows/docs/modules/microphone.html +1 -1
- package/packages/windows/docs/modules/msconfig.html +1 -1
- package/packages/windows/docs/modules/network.html +1 -1
- package/packages/windows/docs/modules/notification.html +1 -1
- package/packages/windows/docs/modules/power.html +1 -1
- package/packages/windows/docs/modules/printer.html +1 -1
- package/packages/windows/docs/modules/regedit.html +1 -1
- package/packages/windows/docs/modules/scheduler.html +1 -1
- package/packages/windows/docs/modules/screen.html +1 -1
- package/packages/windows/docs/modules/secpol.html +1 -1
- package/packages/windows/docs/modules/services.html +1 -1
- package/packages/windows/docs/modules/shell.html +1 -1
- package/packages/windows/docs/modules/startup.html +1 -1
- package/packages/windows/docs/modules/systeminfo.html +1 -1
- package/packages/windows/docs/modules/taskmgr.html +1 -1
- package/packages/windows/docs/modules/taskscheduler.html +1 -1
- package/packages/windows/docs/modules/uac.html +1 -1
- package/packages/windows/docs/modules/usb.html +1 -1
- package/packages/windows/docs/modules/users.html +1 -1
- package/packages/windows/docs/modules/windowsupdate.html +1 -1
- package/packages/windows/docs/openapi.json +339 -339
- package/packages/windows/docs/types/PsExec_psexec.PsExecOptions.html +1 -1
- package/packages/windows/docs/types/PsExec_psfile.PsFileOptions.html +1 -1
- package/packages/windows/docs/types/PsExec_psgetsid.PsGetSidOptions.html +1 -1
- package/packages/windows/docs/types/PsExec_psinfo.PsInfoOptions.html +1 -1
- package/packages/windows/docs/types/joystick.JoystickDataCallback.html +1 -1
- package/packages/windows/docs/types/windowsupdate.Parser.html +1 -1
- package/packages/windows/package.json +9 -10
- package/packages/windows/src/clipboard.ts +22 -15
- package/packages/windows/src/screen.ts +5 -10
- package/packages/windows/src/taskscheduler.ts +1 -2
- package/packages/windows/types/ssh2-sftp-server.d.ts +8 -8
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="computer"><code class="tsd-tag">Optional</code><span>computer</span><a href="#computer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">computer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:16</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="copy"><code class="tsd-tag">Optional</code><span>copy</span><a href="#copy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">copy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:26</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="filelist"><code class="tsd-tag">Optional</code><span>file<wbr/>List</span><a href="#filelist" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fileList</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:17</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="force"><code class="tsd-tag">Optional</code><span>force</span><a href="#force" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">force</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:27</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="interactive"><code class="tsd-tag">Optional</code><span>interactive</span><a href="#interactive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">interactive</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:24</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="limited"><code class="tsd-tag">Optional</code><span>limited</span><a href="#limited" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">limited</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:21</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="nowait"><code class="tsd-tag">Optional</code><span>no<wbr/>Wait</span><a href="#nowait" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">noWait</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:29</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="password"><code class="tsd-tag">Optional</code><span>password</span><a href="#password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:19</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="priority"><code class="tsd-tag">Optional</code><span>priority</span><a href="#priority" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">priority</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"low"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"belownormal"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"abovenormal"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"high"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"realtime"</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:31</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="processors"><code class="tsd-tag">Optional</code><span>processors</span><a href="#processors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">processors</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:32</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="profile"><code class="tsd-tag">Optional</code><span>profile</span><a href="#profile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">profile</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:23</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="session"><code class="tsd-tag">Optional</code><span>session</span><a href="#session" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">session</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:25</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="system"><code class="tsd-tag">Optional</code><span>system</span><a href="#system" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">system</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:22</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timeout"><code class="tsd-tag">Optional</code><span>timeout</span><a href="#timeout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">timeout</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:20</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="user"><code class="tsd-tag">Optional</code><span>user</span><a href="#user" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">user</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:18</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="versioncheck"><code class="tsd-tag">Optional</code><span>version<wbr/>Check</span><a href="#versioncheck" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">versionCheck</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:28</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="windowshide"><code class="tsd-tag">Optional</code><span>windows<wbr/>Hide</span><a href="#windowshide" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">windowsHide</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:34</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="winlogon"><code class="tsd-tag">Optional</code><span>winlogon</span><a href="#winlogon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">winlogon</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:33</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="workingdir"><code class="tsd-tag">Optional</code><span>working<wbr/>Dir</span><a href="#workingdir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">workingDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psexec.ts:30</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#computer"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>computer</span></a><a href="#copy"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>copy</span></a><a href="#filelist"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>file<wbr/>List</span></a><a href="#force"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>force</span></a><a href="#interactive"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>interactive</span></a><a href="#limited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>limited</span></a><a href="#nowait"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>no<wbr/>Wait</span></a><a href="#password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>password</span></a><a href="#priority"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>priority</span></a><a href="#processors"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>processors</span></a><a href="#profile"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>profile</span></a><a href="#session"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>session</span></a><a href="#system"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>system</span></a><a href="#timeout"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timeout</span></a><a href="#user"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>user</span></a><a href="#versioncheck"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version<wbr/>Check</span></a><a href="#windowshide"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>windows<wbr/>Hide</span></a><a href="#winlogon"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>winlogon</span></a><a href="#workingdir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>working<wbr/>Dir</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">@tizianoluziramos/manageos-windows</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> v0.28.13<br>
|
|
179
179
|
<span id="generation-date"></span>
|
|
180
180
|
<script>
|
|
181
|
-
window.GENERATION_DATE =
|
|
181
|
+
window.GENERATION_DATE = 1766768859953;
|
|
182
182
|
|
|
183
183
|
(() => {
|
|
184
184
|
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="close"><code class="tsd-tag">Optional</code><span>close</span><a href="#close" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">close</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psfile.ts:15</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="computer"><code class="tsd-tag">Optional</code><span>computer</span><a href="#computer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">computer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psfile.ts:11</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="idorpath"><code class="tsd-tag">Optional</code><span>id<wbr/>Or<wbr/>Path</span><a href="#idorpath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">idOrPath</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psfile.ts:14</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="password"><code class="tsd-tag">Optional</code><span>password</span><a href="#password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psfile.ts:13</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timeout"><code class="tsd-tag">Optional</code><span>timeout</span><a href="#timeout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">timeout</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psfile.ts:17</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="user"><code class="tsd-tag">Optional</code><span>user</span><a href="#user" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">user</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psfile.ts:12</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="windowshide"><code class="tsd-tag">Optional</code><span>windows<wbr/>Hide</span><a href="#windowshide" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">windowsHide</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psfile.ts:16</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#close"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>close</span></a><a href="#computer"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>computer</span></a><a href="#idorpath"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id<wbr/>Or<wbr/>Path</span></a><a href="#password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>password</span></a><a href="#timeout"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timeout</span></a><a href="#user"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>user</span></a><a href="#windowshide"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>windows<wbr/>Hide</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">@tizianoluziramos/manageos-windows</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> v0.28.13<br>
|
|
167
167
|
<span id="generation-date"></span>
|
|
168
168
|
<script>
|
|
169
|
-
window.GENERATION_DATE =
|
|
169
|
+
window.GENERATION_DATE = 1766768859977;
|
|
170
170
|
|
|
171
171
|
(() => {
|
|
172
172
|
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="account"><code class="tsd-tag">Optional</code><span>account</span><a href="#account" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">account</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psgetsid.ts:19</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="computer"><code class="tsd-tag">Optional</code><span>computer</span><a href="#computer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">computer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psgetsid.ts:16</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="password"><code class="tsd-tag">Optional</code><span>password</span><a href="#password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psgetsid.ts:18</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timeout"><code class="tsd-tag">Optional</code><span>timeout</span><a href="#timeout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">timeout</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psgetsid.ts:21</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="user"><code class="tsd-tag">Optional</code><span>user</span><a href="#user" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">user</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psgetsid.ts:17</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="windowshide"><code class="tsd-tag">Optional</code><span>windows<wbr/>Hide</span><a href="#windowshide" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">windowsHide</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psgetsid.ts:20</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#account"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>account</span></a><a href="#computer"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>computer</span></a><a href="#password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>password</span></a><a href="#timeout"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timeout</span></a><a href="#user"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>user</span></a><a href="#windowshide"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>windows<wbr/>Hide</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">@tizianoluziramos/manageos-windows</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> v0.28.13<br>
|
|
166
166
|
<span id="generation-date"></span>
|
|
167
167
|
<script>
|
|
168
|
-
window.GENERATION_DATE =
|
|
168
|
+
window.GENERATION_DATE = 1766768860008;
|
|
169
169
|
|
|
170
170
|
(() => {
|
|
171
171
|
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="computer"><code class="tsd-tag">Optional</code><span>computer</span><a href="#computer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">computer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:16</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="csv"><code class="tsd-tag">Optional</code><span>csv</span><a href="#csv" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">csv</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:22</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="delimiter"><code class="tsd-tag">Optional</code><span>delimiter</span><a href="#delimiter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">delimiter</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:23</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="password"><code class="tsd-tag">Optional</code><span>password</span><a href="#password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:18</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="showdisk"><code class="tsd-tag">Optional</code><span>show<wbr/>Disk</span><a href="#showdisk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">showDisk</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:21</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="showhotfixes"><code class="tsd-tag">Optional</code><span>show<wbr/>Hotfixes</span><a href="#showhotfixes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">showHotfixes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:19</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="showsoftware"><code class="tsd-tag">Optional</code><span>show<wbr/>Software</span><a href="#showsoftware" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">showSoftware</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:20</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timeout"><code class="tsd-tag">Optional</code><span>timeout</span><a href="#timeout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">timeout</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:25</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="user"><code class="tsd-tag">Optional</code><span>user</span><a href="#user" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">user</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:17</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="windowshide"><code class="tsd-tag">Optional</code><span>windows<wbr/>Hide</span><a href="#windowshide" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">windowsHide</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in PsExec/psinfo.ts:24</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#computer"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>computer</span></a><a href="#csv"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>csv</span></a><a href="#delimiter"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>delimiter</span></a><a href="#password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>password</span></a><a href="#showdisk"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Disk</span></a><a href="#showhotfixes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Hotfixes</span></a><a href="#showsoftware"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Software</span></a><a href="#timeout"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timeout</span></a><a href="#user"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>user</span></a><a href="#windowshide"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>windows<wbr/>Hide</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">@tizianoluziramos/manageos-windows</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> v0.28.13<br>
|
|
170
170
|
<span id="generation-date"></span>
|
|
171
171
|
<script>
|
|
172
|
-
window.GENERATION_DATE =
|
|
172
|
+
window.GENERATION_DATE = 1766768860037;
|
|
173
173
|
|
|
174
174
|
(() => {
|
|
175
175
|
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
</style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">ManageOS</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/joystick.html">joystick</a></li><li><a href="" aria-current="page">JoystickDataCallback</a></li></ul><h1>Type Alias JoystickDataCallback</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">JoystickDataCallback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">Buffer</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in joystick.ts:12</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">@tizianoluziramos/manageos-windows</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> v0.28.13<br>
|
|
160
160
|
<span id="generation-date"></span>
|
|
161
161
|
<script>
|
|
162
|
-
window.GENERATION_DATE =
|
|
162
|
+
window.GENERATION_DATE = 1766768859753;
|
|
163
163
|
|
|
164
164
|
(() => {
|
|
165
165
|
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
</style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">ManageOS</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/windowsupdate.html">windowsupdate</a></li><li><a href="" aria-current="page">Parser</a></li></ul><h1>Type Alias Parser<T></h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Parser</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">raw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#t">T</a></div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="t"><span class="tsd-kind-type-parameter">T</span></span></li></ul></section><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">raw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#t">T</a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">raw</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#t">T</a></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in windowsupdate.ts:10</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">@tizianoluziramos/manageos-windows</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> v0.28.13<br>
|
|
160
160
|
<span id="generation-date"></span>
|
|
161
161
|
<script>
|
|
162
|
-
window.GENERATION_DATE =
|
|
162
|
+
window.GENERATION_DATE = 1766768860416;
|
|
163
163
|
|
|
164
164
|
(() => {
|
|
165
165
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tizianoluziramos/manageos-windows",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"description": "ManageOS Windows Package",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -25,35 +25,34 @@
|
|
|
25
25
|
"scripts"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"clipboardy": "^5.0.2",
|
|
29
28
|
"deasync": "^0.1.30",
|
|
30
29
|
"ftp-srv": "^4.6.3",
|
|
30
|
+
"loudness": "^0.4.2",
|
|
31
31
|
"node-hid": "^3.2.0",
|
|
32
32
|
"node-mic": "^1.0.1",
|
|
33
33
|
"node-notifier": "^10.0.1",
|
|
34
34
|
"node-webcam": "^0.8.2",
|
|
35
|
+
"node-windows": "^1.0.0-beta.8",
|
|
35
36
|
"ping": "^1.0.0",
|
|
36
37
|
"regedit": "^5.1.4",
|
|
37
38
|
"screenshot-desktop": "^1.15.2",
|
|
38
39
|
"ssh2-sftp-server": "^1.1.2",
|
|
39
|
-
"loudness": "^0.4.2",
|
|
40
|
-
"node-windows": "^1.0.0-beta.8",
|
|
41
40
|
"systeminformation": "^5.27.10",
|
|
42
41
|
"win-screen-resolution": "^3.0.2"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@types/node": "^24.9.2",
|
|
46
|
-
"typedoc": "^0.28.13",
|
|
47
|
-
"typedoc-plugin-extras": "^4.0.1",
|
|
48
|
-
"typedoc-umlclass": "^0.10.2",
|
|
49
|
-
"typescript": "^5.6.3",
|
|
50
44
|
"@types/deasync": "^0.1.5",
|
|
45
|
+
"@types/node": "^24.9.2",
|
|
51
46
|
"@types/node-notifier": "^8.0.5",
|
|
52
47
|
"@types/node-webcam": "^0.8.3",
|
|
53
48
|
"@types/node-windows": "^0.1.6",
|
|
54
49
|
"@types/screenshot-desktop": "^1.15.0",
|
|
55
50
|
"@types/systeminformation": "^3.23.1",
|
|
56
|
-
"typedoc
|
|
51
|
+
"typedoc": "^0.28.13",
|
|
52
|
+
"typedoc-material-theme": "^1.4.0",
|
|
53
|
+
"typedoc-plugin-extras": "^4.0.1",
|
|
54
|
+
"typedoc-umlclass": "^0.10.2",
|
|
55
|
+
"typescript": "^5.6.3"
|
|
57
56
|
},
|
|
58
57
|
"engines": {
|
|
59
58
|
"node": ">=18.0.0",
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { execSync, exec } from "node:child_process";
|
|
2
|
+
import { platform } from "node:os";
|
|
2
3
|
|
|
3
4
|
class Sync {
|
|
4
5
|
static read(): string | unknown {
|
|
5
6
|
try {
|
|
6
|
-
|
|
7
|
+
if (platform() !== "win32") throw new Error("Sync read not implemented for this OS");
|
|
8
|
+
const result = execSync(`powershell Get-Clipboard`, { encoding: "utf8" });
|
|
9
|
+
return result.replace(/\r\n$/, "");
|
|
7
10
|
} catch (error) {
|
|
8
11
|
return error;
|
|
9
12
|
}
|
|
@@ -11,7 +14,8 @@ class Sync {
|
|
|
11
14
|
|
|
12
15
|
static write(text: string): boolean | unknown {
|
|
13
16
|
try {
|
|
14
|
-
|
|
17
|
+
if (platform() !== "win32") throw new Error("Sync write not implemented for this OS");
|
|
18
|
+
execSync(`echo ${text.replace(/\n/g, "\r\n")} | clip`);
|
|
15
19
|
return true;
|
|
16
20
|
} catch (error) {
|
|
17
21
|
return error;
|
|
@@ -25,24 +29,27 @@ class Sync {
|
|
|
25
29
|
|
|
26
30
|
class Async {
|
|
27
31
|
static async read(): Promise<string | unknown> {
|
|
28
|
-
|
|
29
|
-
return
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
return new Promise((resolve) => {
|
|
33
|
+
if (platform() !== "win32") return resolve(new Error("Async read not implemented for this OS"));
|
|
34
|
+
exec(`powershell Get-Clipboard`, { encoding: "utf8" }, (err, stdout) => {
|
|
35
|
+
if (err) return resolve(err);
|
|
36
|
+
resolve(stdout.replace(/\r\n$/, ""));
|
|
37
|
+
});
|
|
38
|
+
});
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
static async write(text: string): Promise<boolean | unknown> {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
return new Promise((resolve) => {
|
|
43
|
+
if (platform() !== "win32") return resolve(new Error("Async write not implemented for this OS"));
|
|
44
|
+
exec(`echo ${text.replace(/\n/g, "\r\n")} | clip`, (err) => {
|
|
45
|
+
if (err) return resolve(err);
|
|
46
|
+
resolve(true);
|
|
47
|
+
});
|
|
48
|
+
});
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
static async clear(): Promise<boolean | unknown> {
|
|
45
|
-
return
|
|
52
|
+
return this.write("");
|
|
46
53
|
}
|
|
47
54
|
}
|
|
48
55
|
|
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
import si from "systeminformation";
|
|
8
8
|
import screenshot from "screenshot-desktop";
|
|
9
9
|
import { exec } from "child_process";
|
|
10
|
+
import fs from "fs";
|
|
11
|
+
import path from "path";
|
|
10
12
|
|
|
11
13
|
export default class Screen {
|
|
12
14
|
private static rotationHistory: { degrees: number; timestamp: number }[] = [];
|
|
@@ -222,7 +224,6 @@ export default class Screen {
|
|
|
222
224
|
|
|
223
225
|
// 16) Guardar última captura en disco (si existe), o capturar y guardar
|
|
224
226
|
static async saveLastScreenshotTo(path: string): Promise<boolean> {
|
|
225
|
-
const fs = require("fs");
|
|
226
227
|
try {
|
|
227
228
|
if (!this.lastScreenshotBuffer) {
|
|
228
229
|
this.lastScreenshotBuffer = (await screenshot()) as Buffer;
|
|
@@ -506,7 +507,6 @@ export default class Screen {
|
|
|
506
507
|
|
|
507
508
|
// 20) Snapshot de la configuración actual (guarda a file con timestamp) y devuelve ruta
|
|
508
509
|
static async snapshotConfigs(saveFolder = "./"): Promise<string | null> {
|
|
509
|
-
const fs = require("fs");
|
|
510
510
|
try {
|
|
511
511
|
const config = {
|
|
512
512
|
timestamp: Date.now(),
|
|
@@ -515,9 +515,9 @@ export default class Screen {
|
|
|
515
515
|
displays: await this.getDisplayInfo(),
|
|
516
516
|
};
|
|
517
517
|
const name = `display_snapshot_${Date.now()}.json`;
|
|
518
|
-
const
|
|
519
|
-
fs.writeFileSync(
|
|
520
|
-
return
|
|
518
|
+
const path_1 = path.join(saveFolder, name);
|
|
519
|
+
fs.writeFileSync(path_1, JSON.stringify(config, null, 2));
|
|
520
|
+
return path_1;
|
|
521
521
|
} catch (e) {
|
|
522
522
|
console.error("snapshotConfigs error:", e);
|
|
523
523
|
return null;
|
|
@@ -691,7 +691,6 @@ export default class Screen {
|
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
static exportResolutionHistoryCSV(path: string) {
|
|
694
|
-
const fs = require("fs");
|
|
695
694
|
const csv = this.resolutionHistory
|
|
696
695
|
.map((r) => `${r.timestamp},${r.width},${r.height}`)
|
|
697
696
|
.join("\n");
|
|
@@ -933,7 +932,6 @@ export default class Screen {
|
|
|
933
932
|
|
|
934
933
|
static async exportDisplayInfo(path: string) {
|
|
935
934
|
const info = await this.getDisplayInfo();
|
|
936
|
-
const fs = require("fs");
|
|
937
935
|
fs.writeFileSync(path, JSON.stringify(info, null, 2));
|
|
938
936
|
}
|
|
939
937
|
|
|
@@ -970,12 +968,10 @@ export default class Screen {
|
|
|
970
968
|
orientation: this.getCurrentOrientation(),
|
|
971
969
|
timestamp: Date.now(),
|
|
972
970
|
};
|
|
973
|
-
const fs = require("fs");
|
|
974
971
|
fs.writeFileSync(path, JSON.stringify(config, null, 2));
|
|
975
972
|
}
|
|
976
973
|
|
|
977
974
|
static async restoreConfig(path: string) {
|
|
978
|
-
const fs = require("fs");
|
|
979
975
|
if (!fs.existsSync(path)) return;
|
|
980
976
|
const config = JSON.parse(fs.readFileSync(path, "utf8"));
|
|
981
977
|
this.setResolutionSafe(config.resolution.width, config.resolution.height);
|
|
@@ -1013,7 +1009,6 @@ export default class Screen {
|
|
|
1013
1009
|
}
|
|
1014
1010
|
|
|
1015
1011
|
static exportResolutionHistory(path: string) {
|
|
1016
|
-
const fs = require("fs");
|
|
1017
1012
|
fs.writeFileSync(path, JSON.stringify(this.resolutionHistory, null, 2));
|
|
1018
1013
|
}
|
|
1019
1014
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exec, execSync } from "child_process";
|
|
2
|
+
import fs from "fs";
|
|
2
3
|
|
|
3
4
|
export interface TaskInfo {
|
|
4
5
|
Folder?: string;
|
|
@@ -66,7 +67,6 @@ class Async {
|
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
static async exportTasks(filePath: string): Promise<void> {
|
|
69
|
-
const fs = require("fs");
|
|
70
70
|
return Async.list().then((tasks) => {
|
|
71
71
|
return new Promise((resolve, reject) => {
|
|
72
72
|
fs.writeFile(filePath, JSON.stringify(tasks, null, 2), (err: any) => {
|
|
@@ -78,7 +78,6 @@ class Async {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
static importTasks(filePath: string): Promise<void> {
|
|
81
|
-
const fs = require("fs");
|
|
82
81
|
return new Promise((resolve, reject) => {
|
|
83
82
|
fs.readFile(filePath, "utf-8", (err: any, data: any) => {
|
|
84
83
|
if (err) return reject(err);
|
|
@@ -7,14 +7,6 @@ declare module "ssh2-sftp-server" {
|
|
|
7
7
|
password: string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export interface SFTPServerOptions {
|
|
11
|
-
url: string;
|
|
12
|
-
anonymous?: boolean;
|
|
13
|
-
pasv_url?: string;
|
|
14
|
-
hostKeys?: string[];
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
10
|
export interface SFTPFileAttrs extends Stats {
|
|
19
11
|
mode: number;
|
|
20
12
|
uid: number;
|
|
@@ -24,6 +16,14 @@ declare module "ssh2-sftp-server" {
|
|
|
24
16
|
mtime: number;
|
|
25
17
|
}
|
|
26
18
|
|
|
19
|
+
export interface SFTPServerOptions {
|
|
20
|
+
url: string;
|
|
21
|
+
anonymous?: boolean;
|
|
22
|
+
pasv_url?: string;
|
|
23
|
+
hostKeys?: string[];
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
27
|
export interface SFTPFileEntry {
|
|
28
28
|
filename: string;
|
|
29
29
|
longname: string;
|