Electron-250

Updated the bundle file
Added "http" prefix validation
This commit is contained in:
Kiran Niranjan 2017-12-27 16:25:40 +05:30 committed by Kiran Niranjan
parent 1388c835ef
commit 193a4c126d
6 changed files with 16 additions and 15 deletions

View File

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>17B48</string>
<string>16G1036</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>8E3004b</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>17B41</string>
<string>16E185</string>
<key>DTSDKName</key>
<string>macosx10.13</string>
<string>macosx10.12</string>
<key>DTXcode</key>
<string>0910</string>
<string>0833</string>
<key>DTXcodeBuild</key>
<string>9B55</string>
<string>8E3004b</string>
<key>InstallerSectionTitle</key>
<string>Pod Settings</string>
<key>NSHumanReadableCopyright</key>

View File

@ -6,7 +6,7 @@
<dict>
<key>Resources/Base.lproj/MyInstallerPane.nib</key>
<data>
GZWN47BPj6b6mD6MnSVH/Qn0m3s=
4+CUZ1pazjwZ3nhbwM+NddoYZ1k=
</data>
<key>Resources/InstallerSections.plist</key>
<data>
@ -37,11 +37,11 @@
<dict>
<key>hash</key>
<data>
GZWN47BPj6b6mD6MnSVH/Qn0m3s=
4+CUZ1pazjwZ3nhbwM+NddoYZ1k=
</data>
<key>hash2</key>
<data>
cJ/kr1HEozYL0YeZriWDtnOL1NEd22vHzH5WGp1T3hk=
1zIxJqDs3dAZH36I2+CHfZtMpD5NB6xVDsGcWEQ1P2A=
</data>
</dict>
<key>Resources/InstallerSections.plist</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 *prefix1 = @"https://";
NSString *prefix2 = @"http://";
if (![podUrl hasPrefix:prefix1] && ![podUrl hasPrefix:prefix2]) {
podUrl = [prefix1 stringByAppendingString:podUrl];
[_podUrlTextBox setStringValue:podUrl];
}