new-native-tools 3.1.21 → 3.1.23
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/index.d.ts
CHANGED
|
@@ -54,6 +54,15 @@ export declare function setForegroundByPid(pid: number): boolean | number
|
|
|
54
54
|
export declare function isProcessRunning(pid: number): boolean
|
|
55
55
|
export declare function killProcessByPid(pid: number): number
|
|
56
56
|
export declare function closeProcessByPid(pid: number): number
|
|
57
|
+
/**
|
|
58
|
+
* Evenly tiles the windows belonging to the supplied PIDs on the primary
|
|
59
|
+
* display.
|
|
60
|
+
*
|
|
61
|
+
* The algorithm determines a nearly-square grid that can fit all windows (e.g.
|
|
62
|
+
* 2 → 1 × 2, 4 → 2 × 2, 6 → 2 × 3). Platform-specific code is responsible
|
|
63
|
+
* only for obtaining the screen size and positioning a window. All layout
|
|
64
|
+
* logic remains here to avoid duplication across operating systems.
|
|
65
|
+
*/
|
|
57
66
|
export declare function tileWindowsEvenly(pids: Array<number>): void
|
|
58
67
|
export declare function rustLoggerInit(): void
|
|
59
68
|
export declare function getVersion(): string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "new-native-tools",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.23",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"napi": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"version": "napi version"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"new-native-tools-win32-x64-msvc": "3.1.
|
|
45
|
-
"new-native-tools-darwin-x64": "3.1.
|
|
46
|
-
"new-native-tools-linux-x64-gnu": "3.1.
|
|
47
|
-
"new-native-tools-darwin-arm64": "3.1.
|
|
48
|
-
"new-native-tools-win32-ia32-msvc": "3.1.
|
|
44
|
+
"new-native-tools-win32-x64-msvc": "3.1.23",
|
|
45
|
+
"new-native-tools-darwin-x64": "3.1.23",
|
|
46
|
+
"new-native-tools-linux-x64-gnu": "3.1.23",
|
|
47
|
+
"new-native-tools-darwin-arm64": "3.1.23",
|
|
48
|
+
"new-native-tools-win32-ia32-msvc": "3.1.23"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/tools.darwin-arm64.node
CHANGED
|
Binary file
|
package/tools.darwin-x64.node
CHANGED
|
Binary file
|
package/tools.linux-x64-gnu.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|