Compare commits
2 Commits
01be1ab29a
...
128cf603e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 128cf603e7 | |||
| 6d85d98a50 |
@ -179,6 +179,8 @@ const parseMacInstallerProgress = (output) => {
|
||||
let percent = null
|
||||
let message = 'Installing update...'
|
||||
|
||||
console.log('[app-update] installer output:', output)
|
||||
|
||||
for (const line of lines) {
|
||||
if (line.startsWith('installer:PHASE:')) {
|
||||
message = line.slice('installer:PHASE:'.length).trim() || message
|
||||
@ -293,6 +295,7 @@ const launchMacInstaller = (app, installerPath, webContents) => {
|
||||
}
|
||||
|
||||
const { percent, message } = parseMacInstallerProgress(output)
|
||||
|
||||
sendProgress(webContents, {
|
||||
phase: 'installing',
|
||||
percent: percent ?? 100,
|
||||
|
||||
@ -5,7 +5,10 @@ import WizardView from '../../common/WizardView'
|
||||
|
||||
const NewDocumentSize = ({ onOk, defaultValues }) => {
|
||||
return (
|
||||
<NewObjectForm type={'documentSize'} defaultValues={{ ...defaultValues }}>
|
||||
<NewObjectForm
|
||||
type={'documentSize'}
|
||||
defaultValues={{ infiniteHeight: false, ...defaultValues }}
|
||||
>
|
||||
{({ handleSubmit, submitLoading, objectData, formValid }) => {
|
||||
const steps = [
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user