Skip to content

Commit ceab410

Browse files
committed
v0.2.9
1 parent 93cd77f commit ceab410

File tree

12 files changed

+18
-10
lines changed

12 files changed

+18
-10
lines changed

readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,15 @@ How to install Corectl App for macOS
2424

2525
###Install:
2626

27+
Till `qcow-tool` is made to work as a standalone binary, for now please install missing library with `brew`:
28+
29+
```
30+
brew install libev
31+
```
32+
2733
Open the downloaded `DMG` file and drag the App to /Applications, and start the `Corectl` from there.
2834

29-
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.
35+
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.
3036

3137
How it works
3238
------------

src/bin/corectl

132 KB
Binary file not shown.

src/bin/corectld

-4.65 MB
Binary file not shown.

src/bin/corectld.runner

34.6 KB
Binary file not shown.

src/bin/qcow-tool

271 KB
Binary file not shown.

src/corectl.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 47;
6+
objectVersion = 48;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -192,7 +192,7 @@
192192
};
193193
};
194194
buildConfigurationList = 13CAFC211D2272B000E57ED4 /* Build configuration list for PBXProject "corectl" */;
195-
compatibilityVersion = "Xcode 6.3";
195+
compatibilityVersion = "Xcode 8.0";
196196
developmentRegion = English;
197197
hasScannedForEncodings = 0;
198198
knownRegions = (

src/corectl/AppDelegate.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
3333
check_for_dmg()
3434

3535
// enable launch at login
36-
addToLoginItems()
36+
//addToLoginItems()
3737

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

@@ -282,7 +282,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
282282
else {
283283
// update menu item
284284
let menuItem : NSStatusItem = statusItem
285-
menuItem.menu?.item(withTag: 10)?.title = "No Active VMs"
285+
menuItem.menu?.item(withTag: 10)?.title = " Active VMs: 0"
286286
}
287287
}
288288

src/corectl/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.2.8</string>
20+
<string>0.2.9</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>147</string>
24+
<string>149</string>
2525
<key>LSApplicationCategoryType</key>
2626
<string>public.app-category.utilities</string>
2727
<key>LSMinimumSystemVersion</key>

src/corectl/ServerControl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func ServerStart() {
3030
task.waitUntilExit()
3131

3232
//
33-
DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
33+
DispatchQueue.main.asyncAfter(deadline: .now() + 0.10) {
3434
//
3535
let script = Bundle.main.resourcePath! + "/check_corectld_status.command"
3636
let status = shell(script, arguments: [])

src/get_qcow-tool_libs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#
2+
dylibbundler -od -b -x bin/qcow-tool -p @executable_path/../libs

0 commit comments

Comments
 (0)