dock-window-preview
dock-window-preview copied to clipboard
update: Remove text, tested using M1
I tested this app using M1 and works perfect.
Info: macOS Monterey 12.6.1 MacBook PRO (16-inch, 2021) Chip Apple M1 Pro
BTW, I installed the app with npm run build
Thanks for testing! That's great news! 😊
Trying to figure out what might be wrong with the reported issues so far... is your Mac mostly "stock" or have you installed any developer tools, configured the security settings to be more liberal or anything that could help to differentiate your device from a standard user?
Yes, I'm a developer and I have multiple developer tools.
I use this versions:
npm: 6.14.13
node: v14.17.0
Btw, before the build manually, I tried to install this app using the Getting Started (Quick)
method, but this no works for me. For this reason I installed manually.
The Quick method returns this error:
out/dock-window-preview: internal error in Code Signing subsystem
Error: child exited with code 1
at ChildProcess.<anonymous> (/Users/rodrigo.maafs/.dock-window-preview-git/node_modules/await-spawn/index.js:28:21)
at ChildProcess.emit (node:events:394:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
code: 1,
stderr: '',
stdout: ''
}
If you want, give me more time and I can research about it.
@PepsRyuu I founded this, but I've questions because I'm not expert in this technologies.
Why are you executing this lines in the install.sh
file?
# Install dependencies and run the build
PATH=$(readlink -f $(dirname $NODE)):$PATH $NODE $NPM install
PATH=$(readlink -f $(dirname $NODE)):$PATH $NODE $NPM run build
If I change this lines, to use only the $NPM
variable, I can do the build correctly.
Example:
# Install dependencies and run the build
echo "/////////////"
#PATH=$(readlink -f $(dirname $NODE)):$PATH $NODE $NPM install
#PATH=$(readlink -f $(dirname $NODE)):$PATH $NODE $NPM run build
$NPM install
$NPM run build
Log successful:
Node installed.
+ echo /////////////
/////////////
+ ./node/node-v16.9.1-darwin-arm64/lib/node_modules/npm/bin/npm-cli.js install
up to date, audited 178 packages in 2s
18 packages are looking for funding
run `npm fund` for details
2 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
+ ./node/node-v16.9.1-darwin-arm64/lib/node_modules/npm/bin/npm-cli.js run build
> [email protected] build
> yackage build out/
++ git rev-parse --short HEAD
+ COMMIT_ID=f5bb8b9
+ echo f5bb8b9
+ tccutil reset Accessibility com.pepsryuu.dock-window-preview
Successfully reset Accessibility approval status for com.pepsryuu.dock-window-preview
Successfully reset Accessibility approval status for com.pepsryuu.dock-window-preview
Successfully reset Accessibility approval status for com.pepsryuu.dock-window-preview
+ tccutil reset ScreenCapture com.pepsryuu.dock-window-preview
Successfully reset ScreenCapture approval status for com.pepsryuu.dock-window-preview
Successfully reset ScreenCapture approval status for com.pepsryuu.dock-window-preview
Successfully reset ScreenCapture approval status for com.pepsryuu.dock-window-preview
+ echo 'Killing existing process'
Killing existing process
++ ps -e
++ grep 'Dock Window Preview'
++ grep -v grep
++ awk '{print $1}'
+ PID=
+ '[' -z ']'
+ echo 'App not running. Proceeding.'
App not running. Proceeding.
+ cp -r 'out/Dock Window Preview.app' /Users/rodrigo.maafs/Applications
+ '[' -f .auto-generated ']'
+ open /Users/rodrigo.maafs/Applications
