Comments (2)
Strange. Here is the relevant code:
Really not much going on here. Not sure why calling open
would open hidden apps.
from jdeploy.
I am able to reproduce this. It is caused by the "Add to dock" step, which needs to quit and reactivate the dock:
String[] commands = new String[]{
"/usr/bin/defaults write com.apple.dock persistent-apps -array-add \"<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>"+myapp+"</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>\"",
"/usr/bin/osascript -e 'tell application \"Dock\" to quit'",
"/usr/bin/osascript -e 'tell application \"Dock\" to activate'"
};
NOTE: This doesn't affect apps that had been hidden using "Hide application / Command-H". Just windows that had been minimized onto the dock.
It uses the strategy described here
I don't know of a way to improve on this currently. Found this tool for adding/removing items from the dock using command-line: https://github.com/kcrawford/dockutil
It looks like it still "restarts" the dock after adding items, but it is possible that it found a way to retain or restore transient state like minimized windows.
from jdeploy.
Related Issues (20)
- Error making desktop alias HOT 4
- Can't get 'Verify Ownership' working HOT 2
- JDeply does not initialize correctly when one of the detected JAR files is corrupted HOT 3
- Self signing the installer HOT 1
- Github action has wrong action name in readme
- Cannot deploy as One Time Password is not provided. HOT 6
- Cannot build with maven 3.8.4 as local repository does not have checksums. HOT 3
- Can't Uninstall Program: "Cannot load app info because the app.xml file could not be found" HOT 2
- [BUG] cannot download jre 11 HOT 1
- Add support for private npm packages HOT 2
- jdeploy package not creating installers for mac HOT 1
- For all jDeploy users - Help ask NPM to increase payload size HOT 9
- Handling native dependencies HOT 6
- Github action was working but now it is not HOT 4
- one repo builds packages and one fails HOT 3
- Trojan in Windows Installer? HOT 5
- Creating Github release to public repo fails due to "jDeploy" tag already exists in public repo HOT 2
- Github workflow installer package not producing desired application icon HOT 11
- Application will not run if not connected to the internet HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdeploy.