Skip to content

Commit 4a39c6a

Browse files
committed
Support tar.gz packaging for x64 Linux
1 parent e030694 commit 4a39c6a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

buildAssets/builder/config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ const baseConfig = {
8484
{
8585
target: 'rpm',
8686
arch: 'x64'
87-
}
87+
},
88+
{
89+
target: 'tar.gz',
90+
arch: 'x64'
91+
},
8892
]
8993
}
9094
}

src/main/aid/automation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const kWriteTextTimeout = 1000
1414
export default class Automation {
1515
static grabSelectedText = async (
1616
automator: Automator,
17-
timeout: number = 500
17+
timeout: number = 1000
1818
): Promise<string> => {
1919
// wait for focus
2020
await wait(10)
@@ -34,7 +34,7 @@ export default class Automation {
3434
console.log(`Grab text timeout after ${timeout}ms`)
3535
break
3636
}
37-
await wait(50)
37+
await wait(100)
3838
}
3939

4040
// log

0 commit comments

Comments
 (0)