Skip to content

Commit

Permalink
v0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Nov 30, 2016
1 parent 93cd77f commit ceab410
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 10 deletions.
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ How to install Corectl App for macOS

###Install:

Till `qcow-tool` is made to work as a standalone binary, for now please install missing library with `brew`:

```
brew install libev
```

Open the downloaded `DMG` file and drag the App to /Applications, and start the `Corectl` from there.

Everytime you start App will be asked for your Mac user password, which will used to start `corectld` server as `root` is needed for the network to work.
Everytime you start App you will be asked for your Mac user password, which will used to start `corectl` server as `root`, it is needed for the network to work.

How it works
------------
Expand Down
Binary file modified src/bin/corectl
Binary file not shown.
Binary file modified src/bin/corectld
Binary file not shown.
Binary file modified src/bin/corectld.runner
Binary file not shown.
Binary file modified src/bin/qcow-tool
Binary file not shown.
4 changes: 2 additions & 2 deletions src/corectl.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 47;
objectVersion = 48;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -192,7 +192,7 @@
};
};
buildConfigurationList = 13CAFC211D2272B000E57ED4 /* Build configuration list for PBXProject "corectl" */;
compatibilityVersion = "Xcode 6.3";
compatibilityVersion = "Xcode 8.0";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
Expand Down
8 changes: 4 additions & 4 deletions src/corectl/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
check_for_dmg()

// enable launch at login
addToLoginItems()
//addToLoginItems()

// run startMainFunctions()
startMainFunctions()
Expand Down Expand Up @@ -66,7 +66,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
else {
//
let alert: NSAlert = NSAlert()
alert.messageText = "Restarting Corectld server will halt all your running VMs."
alert.messageText = "Restarting Corectl server will halt all your running VMs."
alert.informativeText = "Are you sure you want to do that?"
alert.alertStyle = NSAlertStyle.warning
alert.addButton(withTitle: "OK")
Expand Down Expand Up @@ -146,7 +146,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
@IBAction func About(_ sender: NSMenuItem) {
let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")as? String
let mText: String = "Corectl for macOS v" + version!
let infoText: String = "A simple wrapper around the \"corectld\" server. Allows to have control your server via the Status Bar App."
let infoText: String = "A simple wrapper around the \"corectl\" server. Allows to have control it via the Status Bar App."
displayWithMessage(mText, infoText: infoText)
}

Expand Down Expand Up @@ -282,7 +282,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
else {
// update menu item
let menuItem : NSStatusItem = statusItem
menuItem.menu?.item(withTag: 10)?.title = "No Active VMs"
menuItem.menu?.item(withTag: 10)?.title = " Active VMs: 0"
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/corectl/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.2.8</string>
<string>0.2.9</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>147</string>
<string>149</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion src/corectl/ServerControl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func ServerStart() {
task.waitUntilExit()

//
DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.10) {
//
let script = Bundle.main.resourcePath! + "/check_corectld_status.command"
let status = shell(script, arguments: [])
Expand Down
2 changes: 2 additions & 0 deletions src/get_qcow-tool_libs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#
dylibbundler -od -b -x bin/qcow-tool -p @executable_path/../libs
Binary file added src/libs/libev.4.dylib
Binary file not shown.
Binary file modified src/registry/registry
Binary file not shown.

0 comments on commit ceab410

Please sign in to comment.