change login item to LSUIElement (so popups would show up!)
code cleanup
This commit is contained in:
parent
5b0f6633c7
commit
5173869913
|
@ -6,9 +6,6 @@
|
|||
// Copyright (c) 2016 Objective-See. All rights reserved.
|
||||
//
|
||||
|
||||
//TODO: remove:
|
||||
// sudo lsmp -p 13513
|
||||
|
||||
#import "Consts.h"
|
||||
#import "Configure.h"
|
||||
#import "Exception.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
@synthesize infoWindowController;
|
||||
@synthesize statusBarMenuController;
|
||||
|
||||
|
||||
//app's main interface
|
||||
// ->load status bar and kick off monitor
|
||||
-(void)applicationDidFinishLaunching:(NSNotification *)aNotification
|
||||
|
@ -53,6 +52,7 @@
|
|||
|
||||
//check
|
||||
[self isThereAndUpdate];
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -86,7 +86,6 @@
|
|||
}
|
||||
|
||||
//check for an update
|
||||
//TODO: test to make sure window shows up!
|
||||
-(void)isThereAndUpdate
|
||||
{
|
||||
//version string
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0.0</string>
|
||||
<key>LSBackgroundOnly</key>
|
||||
<key>LSUIElement</key>
|
||||
<true/>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
|
|
|
@ -24,13 +24,13 @@
|
|||
7D6245881D87C57600870565 /* Logging.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D17C5361D659E580066232A /* Logging.m */; };
|
||||
7D6245891D87C58400870565 /* Logging.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D17C5361D659E580066232A /* Logging.m */; };
|
||||
7D62458B1D87CE0900870565 /* AboutWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D17C52E1D659E580066232A /* AboutWindowController.m */; };
|
||||
7D62458F1D87D38400870565 /* InfoWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7D62458C1D87D38400870565 /* InfoWindow.xib */; };
|
||||
7D6245901D87D38400870565 /* InfoWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D62458D1D87D38400870565 /* InfoWindowController.m */; };
|
||||
7D6245911D87D39E00870565 /* InfoWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D62458D1D87D38400870565 /* InfoWindowController.m */; };
|
||||
7D6245921D87D46800870565 /* InfoWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7D62458C1D87D38400870565 /* InfoWindow.xib */; };
|
||||
7D6245931D87E13200870565 /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D17C5331D659E580066232A /* icon.png */; };
|
||||
7D6245941D87E13200870565 /* overSight.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D17C5341D659E580066232A /* overSight.png */; };
|
||||
7D6245951D87E14800870565 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8B5755CD19DA3F9300799E6B /* MainMenu.xib */; };
|
||||
7D9A7DE81D893E4F0091C1AF /* InfoWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7D62458C1D87D38400870565 /* InfoWindow.xib */; };
|
||||
7DAF4B7F1D657192000DA31A /* StatusBarMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DAF4B7D1D656FD3000DA31A /* StatusBarMenu.m */; };
|
||||
7DC9C8171D641A350017D143 /* OverSightXPC.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DC9C8161D641A350017D143 /* OverSightXPC.m */; };
|
||||
7DC9C8191D641A350017D143 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DC9C8181D641A350017D143 /* main.m */; };
|
||||
|
@ -425,11 +425,11 @@
|
|||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
7D9A7DE81D893E4F0091C1AF /* InfoWindow.xib in Resources */,
|
||||
7D6245951D87E14800870565 /* MainMenu.xib in Resources */,
|
||||
7D6245931D87E13200870565 /* icon.png in Resources */,
|
||||
7D6245941D87E13200870565 /* overSight.png in Resources */,
|
||||
7D17C5271D6592FE0066232A /* statusIcon.png in Resources */,
|
||||
7D62458F1D87D38400870565 /* InfoWindow.xib in Resources */,
|
||||
7D6245851D87C43900870565 /* Images.xcassets in Resources */,
|
||||
7D17C5281D6592FE0066232A /* statusIcon@2x.png in Resources */,
|
||||
);
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
//
|
||||
// Consts.h
|
||||
// WhatsYourSign
|
||||
// OverSight
|
||||
//
|
||||
// Created by Patrick Wardle on 7/7/16.
|
||||
// Copyright (c) 2016 Objective-See. All rights reserved.
|
||||
//
|
||||
|
||||
//TODO: update!
|
||||
|
||||
#ifndef OS_Consts_h
|
||||
#define OS_Consts_h
|
||||
|
||||
|
@ -31,21 +29,6 @@
|
|||
//hotkey 'q'
|
||||
#define KEYCODE_Q 0xC
|
||||
|
||||
//signature status
|
||||
#define KEY_SIGNATURE_STATUS @"signatureStatus"
|
||||
|
||||
//signing auths
|
||||
#define KEY_SIGNING_AUTHORITIES @"signingAuthorities"
|
||||
|
||||
//file belongs to apple?
|
||||
#define KEY_SIGNING_IS_APPLE @"signedByApple"
|
||||
|
||||
//file signed with apple dev id
|
||||
#define KEY_SIGNING_IS_APPLE_DEV_ID @"signedWithDevID"
|
||||
|
||||
//from app store
|
||||
#define KEY_SIGNING_IS_APP_STORE @"fromAppStore"
|
||||
|
||||
//OS version x
|
||||
#define OS_MAJOR_VERSION_X 10
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" animationBehavior="default" id="F0z-JX-Cv5">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" texturedBackground="YES" unifiedTitleAndToolbar="YES"/>
|
||||
<rect key="contentRect" x="196" y="240" width="422" height="123"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1057"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
|
||||
<view key="contentView" id="se5-gp-TjO">
|
||||
<rect key="frame" x="0.0" y="0.0" width="422" height="123"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
|
|
Loading…
Reference in New Issue