@bobfrankston/msger 0.1.124 → 0.1.127
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/msger-native/Cargo.toml
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/msgernative-linux-x64
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/tests/test-handle.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { showMessageBoxEx } from './shower.js';
|
|
2
|
-
|
|
3
|
-
const handle = showMessageBoxEx({
|
|
4
|
-
message: 'Testing handle API - will auto-close in 2 seconds',
|
|
5
|
-
buttons: ['OK']
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
console.log('Dialog PID:', handle.pid);
|
|
9
|
-
|
|
10
|
-
setTimeout(() => {
|
|
11
|
-
console.log('Closing dialog programmatically...');
|
|
12
|
-
const closed = handle.close();
|
|
13
|
-
console.log('Close result:', closed);
|
|
14
|
-
}, 2000);
|
|
15
|
-
|
|
16
|
-
handle.result.then(result => {
|
|
17
|
-
console.log('Dialog result:', JSON.stringify(result));
|
|
18
|
-
}).catch(err => {
|
|
19
|
-
console.log('Dialog error:', err.message);
|
|
20
|
-
});
|