@bobfrankston/msger 0.1.147 → 0.1.148
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/cli.js +2 -3
- package/cli.ts +2 -3
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -563,11 +563,10 @@ function saveConfigFile(filePath, options) {
|
|
|
563
563
|
if (options.size)
|
|
564
564
|
config.size = options.size;
|
|
565
565
|
if (options.pos) {
|
|
566
|
-
|
|
566
|
+
config.pos = { x: options.pos.x, y: options.pos.y };
|
|
567
567
|
if (options.pos.screen !== undefined) {
|
|
568
|
-
|
|
568
|
+
config.pos.screen = options.pos.screen;
|
|
569
569
|
}
|
|
570
|
-
config.pos = posStr;
|
|
571
570
|
}
|
|
572
571
|
if (options.buttons && options.buttons.length > 0 && JSON.stringify(options.buttons) !== '["OK"]') {
|
|
573
572
|
config.buttons = options.buttons;
|
package/cli.ts
CHANGED
|
@@ -566,11 +566,10 @@ function saveConfigFile(filePath: string, options: MessageBoxOptions): void {
|
|
|
566
566
|
if (options.hash) config.hash = options.hash;
|
|
567
567
|
if (options.size) config.size = options.size;
|
|
568
568
|
if (options.pos) {
|
|
569
|
-
|
|
569
|
+
config.pos = { x: options.pos.x, y: options.pos.y };
|
|
570
570
|
if (options.pos.screen !== undefined) {
|
|
571
|
-
|
|
571
|
+
config.pos.screen = options.pos.screen;
|
|
572
572
|
}
|
|
573
|
-
config.pos = posStr;
|
|
574
573
|
}
|
|
575
574
|
if (options.buttons && options.buttons.length > 0 && JSON.stringify(options.buttons) !== '["OK"]') {
|
|
576
575
|
config.buttons = options.buttons;
|