Comments (10)
I personally would prefer a setup more like the OS X Utilities you get when booted from Recovery partition, and Imagr is just one of the available utilities: Disk Utility and Terminal among the others.
from imagr.
Perhaps this could be an optional setting in the NetBoot set:
By default, boot directly to Imagr.
If SomeVar = True, boot to the main recovery window where Imagr.app is one option.
This would require the following functionality to be added:
- Add Imagr.app to the Recovery Boot window (if it isn't already)
- Add a preference for booting to the recovery window rather than imagr
- modify the rc.imaging script example to read the aobve preference and take the correct action.
from imagr.
Hacking on that is definitely a route I don't want to go down. I'll just be chasing after whatever apple decide to do with that. I'll raise separate issues for menu items for opening Terminal and Disk Utility (maybe others).
This issue purely refers to Disk Utility being opened on the main thread and behind the main Imagr window.
from imagr.
By default, I think AutoNBI boots to the recovery window. So it would just be a matter of modifying rc.imaging and adding something to the menu.
If you don't want to bother with this method, thats fine, although I think it is more Apple-y to use their Recovery window to launch stuff.
from imagr.
Actually, this seems like an issue outside of Imagr altogether.
Adding things to the menu in recovery would be AutoNBI functionality, not Imagr functionality. So if you still want quick access to those tools, then obviously that needs to happen here (via Menu, etc).
I fiddled with AutoNBI and got to this state, which works quite well and is a simple plist file edit:
https://carousel.dropbox.com/photos/cc/gFJIXdfLjTUaLUe
Some classy photos there ;)
This method is like what Greg mentioned and can be done without modifying Imagr.
from imagr.
I like it, but agree that this is now outside of imagr.
from imagr.
But this does bring me back to the original issue - We need to find a way of opening Disk Utility without it opening behind the main imagr window.
from imagr.
Since we can use PyObjC, I'm pretty sure one of the NSWorkspace methods should be able to help.
I'd start with NSWorkspace.sharedWorkspace().launchApplication_("path/to/Disk Utility.app")
from imagr.
Excellent - I saw that but was struggling with the syntax.
from imagr.
Looks like I was too eager. This doesn't work in an AutoNBI image.
from imagr.
Related Issues (20)
- imagr open behind select language pane in macOS Sierra HOT 3
- Imagr crashes if reporting server unavailable HOT 2
- Imagr crashes if timeapi.org returns unexpected data HOT 1
- Description text box for the workflows is not scrollable HOT 1
- Imagr logs a crash if a volume is unmounted HOT 2
- Setting time with http fails to respect timezone HOT 4
- Bug: first-boot items are not installed in order in macOS High Sierra
- validateplist doesn't append query string to background_image check
- Packages/DMGs with spaces will fail if using gurl HOT 2
- Feature request: Prevent Mac from sleeping while Imagr app is running a workflow HOT 1
- first-boot infinite loop if exit code non-zero HOT 7
- After APFS to HFS Conversion via script will casue Imagr to hang HOT 9
- Does not work with macOS 10.13.4 Installer HOT 4
- 10.11 NBI workflow start crash HOT 1
- Workflow doesn't recognize volume format change HOT 4
- Auto key of computer_name component ignored when part of included workflow HOT 2
- com.apple.osinstall error -3 on OS X 10.13.4 if workflow writes to formatted target before startosinstall HOT 2
- first_boot LaunchDaemon does not get created when startosinstall is called via included_workflow HOT 1
- Imagr (High Sierra) preventing reboot during install workflow HOT 1
- first-boot fails to start after Mojave install HOT 13
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 imagr.