⨯ icon directory /home/zxp-endeavouros/.cache/paru/clone/pear-rec/src/pear-rec-1.3.2/packages/desktop/build/icons doesn't contain icons
github.com/develar/app-builder/pkg/icons.CollectIcons
/Volumes/data/Documents/app-builder/pkg/icons/collect-icons.go:73
github.com/develar/app-builder/pkg/icons.doConvertIcon
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:191
github.com/develar/app-builder/pkg/icons.ConvertIcon
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:56
github.com/develar/app-builder/pkg/icons.ConfigureCommand.func1
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:33
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.17/libexec/src/runtime/proc.go:255
runtime.goexit
/usr/local/Cellar/go/1.17/libexec/src/runtime/asm_amd64.s:1581
github.com/develar/app-builder/pkg/icons.doConvertIcon
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:193
github.com/develar/app-builder/pkg/icons.ConvertIcon
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:56
github.com/develar/app-builder/pkg/icons.ConfigureCommand.func1
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:33
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.17/libexec/src/runtime/proc.go:255
runtime.goexit
/usr/local/Cellar/go/1.17/libexec/src/runtime/asm_amd64.s:1581
⨯ /home/zxp-endeavouros/.cache/paru/clone/pear-rec/src/pear-rec-1.3.2/node_modules/.pnpm/[email protected]/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1 failedTask=build stackTrace=Error: /home/zxp-endeavouros/.cache/paru/clone/pear-rec/src/pear-rec-1.3.2/node_modules/.pnpm/[email protected]/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
sed "20i\ icon: 'build/icons/png/1024x1024.png'," -i packages/desktop/electron-builder.json5
$ pear-rec
[266742:1206/153549.344944:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: 无此接口“org.freedesktop.portal.FileChooser”
[266742:1206/153549.344982:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
(node:266742) UnhandledPromiseRejectionWarning: Error: Failed to load image from path '/usr/lib/pear-rec/app/dist/imgs/logo/favicon.ico'
sed "s|favicon.ico|favicon.png|g" -i "packages/desktop/release/${pkgver}/linux-unpacked/resources/app/dist-electron/main/index.js"
cp packages/desktop/build/icons/png/32x32.png "packages/desktop/release/${pkgver}/linux-unpacked/resources/app/dist/imgs/logo/favicon.png"
TypeORM connection error: Error: EACCES: permission denied, open '/usr/lib/pear-rec/app/ormlogs.log'
sudo touch /usr/lib/pear-rec/app/ormlogs.log
sudo chmod 666 /usr/lib/pear-rec/app/
at /usr/lib/pear-rec/app/dist-electron/main/index.js:5:2090
at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:89579)