Merge pull request #270 from KiranNiranjan/ELECTRON-250

Electron-250 (Updated the installer bundle)
This commit is contained in:
Vikas Shashidhar
2018-01-03 16:30:48 +05:30
committed by GitHub
4 changed files with 12 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>17B48</string>
<string>17C88</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@@ -27,17 +27,17 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>9B55</string>
<string>9C40b</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>17B41</string>
<string>17C76</string>
<key>DTSDKName</key>
<string>macosx10.13</string>
<key>DTXcode</key>
<string>0910</string>
<string>0920</string>
<key>DTXcodeBuild</key>
<string>9B55</string>
<string>9C40b</string>
<key>InstallerSectionTitle</key>
<string>Pod Settings</string>
<key>NSHumanReadableCopyright</key>

View File

@@ -97,7 +97,7 @@
TargetAttributes = {
3A10EBCE1ED4336D0083702F = {
CreatedOnToolsVersion = 8.3.2;
DevelopmentTeam = 2CWJ37D7FB;
DevelopmentTeam = NG92SF5D2E;
ProvisioningStyle = Automatic;
};
};
@@ -279,7 +279,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 2CWJ37D7FB;
DEVELOPMENT_TEAM = NG92SF5D2E;
INFOPLIST_FILE = SymphonySettingsPlugin/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Bundles";
MACOSX_DEPLOYMENT_TARGET = 10.7;
@@ -295,7 +295,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 2CWJ37D7FB;
DEVELOPMENT_TEAM = NG92SF5D2E;
INFOPLIST_FILE = SymphonySettingsPlugin/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Bundles";
MACOSX_DEPLOYMENT_TARGET = 10.7;

View File

@@ -24,9 +24,10 @@
NSString *podUrl = [_podUrlTextBox stringValue];
// Check if the url contains a protocol, if not, prepend https to it
NSString *prefix = @"https://";
if (![podUrl hasPrefix:prefix]) {
podUrl = [prefix stringByAppendingString:podUrl];
NSString *securePrefix = @"https://";
NSString *prefix = @"http://";
if (![podUrl hasPrefix:securePrefix] && ![podUrl hasPrefix:prefix]) {
podUrl = [securePrefix stringByAppendingString:podUrl];
[_podUrlTextBox setStringValue:podUrl];
}