Skip to content

Commit

Permalink
Updated Icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
venj committed Dec 19, 2016
1 parent 74731f2 commit 0fb5219
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 4 deletions.
11 changes: 11 additions & 0 deletions Battery Time.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
2580E7961E04F57A00A0316C /* Battery Time Helper.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Battery Time Helper.entitlements"; sourceTree = "<group>"; };
2580E79A1E04FB5600A0316C /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/InfoPlist.strings; sourceTree = "<group>"; };
2580E79C1E04FB5700A0316C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
25A4DF211E07CADE006AC395 /* Battery Time.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Battery Time.entitlements"; sourceTree = "<group>"; };
25AC9D2C1E026B4E003C7AC8 /* Battery Time.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Battery Time.app"; sourceTree = BUILT_PRODUCTS_DIR; };
25AC9D2F1E026B4E003C7AC8 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
25AC9D301E026B4E003C7AC8 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -118,6 +119,7 @@
25AC9D2E1E026B4E003C7AC8 /* Battery Time */ = {
isa = PBXGroup;
children = (
25A4DF211E07CADE006AC395 /* Battery Time.entitlements */,
25AC9D2F1E026B4E003C7AC8 /* AppDelegate.h */,
25AC9D301E026B4E003C7AC8 /* AppDelegate.m */,
2580E79B1E04FB5600A0316C /* InfoPlist.strings */,
Expand Down Expand Up @@ -209,6 +211,11 @@
CreatedOnToolsVersion = 8.2;
DevelopmentTeam = 32Y52676KN;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.Sandbox = {
enabled = 1;
};
};
};
};
};
Expand Down Expand Up @@ -334,6 +341,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "me.venj.Battery-Time-Helper";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
Expand All @@ -352,6 +360,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "me.venj.Battery-Time-Helper";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 3.0;
};
Expand Down Expand Up @@ -450,6 +459,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = "Battery Time/Battery Time.entitlements";
CODE_SIGN_IDENTITY = "Developer ID Application";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 32Y52676KN;
Expand All @@ -466,6 +476,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = "Battery Time/Battery Time.entitlements";
CODE_SIGN_IDENTITY = "Developer ID Application";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 32Y52676KN;
Expand Down
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/Icon_128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/Icon_16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/Icon_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/Icon_32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Battery Time/Assets.xcassets/AppIcon.appiconset/Icon_512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions Battery Time/Battery Time.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Battery Time/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>1.2</string>
<key>CFBundleVersion</key>
<string>5</string>
<string>6</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
8 changes: 6 additions & 2 deletions Readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@

### 下载

访问 [Releases](https://github.com/venj/Battery-Time/releases/) 页面,或 [点此下载](https://github.com/venj/Battery-Time/releases/download/1.1/BatteryTime.zip)
访问 [Releases](https://github.com/venj/Battery-Time/releases/) 页面,或 [点此下载](https://github.com/venj/Battery-Time/releases/download/1.2/BatteryTime.zip)

### 关闭登录时启动

开启App后,执行:

```
defaults write me.venj.Battery-Time DisableStartUpAtLogin -bool YES
defaults write ~/Library/Containers/me.venj.Battery-Time/Data/Library/Preferences/me.venj.Battery-Time DisableStartUpAtLogin -bool YES && killall cfprefsd
```

退出App,再次启动可生效。

## License

MIT

0 comments on commit 0fb5219

Please sign in to comment.