Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor tweaks

Small UI changes in labels, changed logging output for debugging, and
fixed version checking string
  • Loading branch information...
commit 3a3f2a616f37c761e617797330c6790275241258 1 parent c716782
@dombarnes authored
View
15 Chromium Updater.xcodeproj/project.pbxproj
@@ -151,7 +151,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0410;
+ LastUpgradeCheck = 0450;
};
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Chromium Updater" */;
compatibilityVersion = "Xcode 3.2";
@@ -255,26 +255,27 @@
C01FCF4F08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx10.7;
};
name = Debug;
};
C01FCF5008A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
- SDKROOT = macosx10.6;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx10.7;
};
name = Release;
};
View
BIN  ...eproj/project.xcworkspace/xcuserdata/domster83.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
13 ...um Updater.xcodeproj/xcuserdata/domster83.xcuserdatad/xcschemes/Chromium Updater.xcscheme
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
+ LastUpgradeVersion = "0450"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@@ -22,7 +23,7 @@
</BuildActionEntries>
</BuildAction>
<TestAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
@@ -30,11 +31,14 @@
</Testables>
</TestAction>
<LaunchAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
- buildConfiguration = "Debug">
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
@@ -51,7 +55,8 @@
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
- buildConfiguration = "Release">
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
View
4,098 English.lproj/MainMenu.xib
240 additions, 3,858 deletions not shown
View
18 UpdateChromium.applescript
@@ -33,18 +33,17 @@ script UpdateChromium
log appPlist
try
tell application "System Events"
- set curVer to value of property list item "SVNRevision" of property list file appPlist
- log curVer
+ set curVer to value of property list item "SCMRevision" of property list file appPlist
end tell
+ log "curentVersion: " & curVer
end try
- log "curver " & curVer
set latest to do shell script "curl http://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/LAST_CHANGE"
- build_label's setStringValue_(latest as number)
- log latest
+ build_label's setStringValue_("Build: " & latest as text)
+ log "latestVersion: " & latest
set curVer to curVer as number
set latest to latest as number
if curVer is greater than or equal to latest then
- status_label's setStringValue_("You have the latest build version " & latest)
+ status_label's setStringValue_("You already have the latest nightly build.")
header_label's setStringValue_("")
build_label's setStringValue_("")
start_Button's setEnabled_(false)
@@ -55,10 +54,12 @@ script UpdateChromium
progress_bar's setMinValue_(0)
delay 1
progress_bar's incrementBy_(5)
+ delay 1
progress_bar's incrementBy_(15)
--download latest build using build number in latest
header_label's setStringValue_("Updating. Please wait")
- status_label's setStringValue_("Downloading nightly build" as string)
+ build_label's setStringValue_("Build: " & latest)
+ status_label's setStringValue_("Downloading nightly build..." as string)
delay 1
try
do shell script "mkdir ~/.tmp"
@@ -91,8 +92,7 @@ script UpdateChromium
try
do shell script "rm -R /Applications/Chromium.old.app"
end try
- status_label's setStringValue_("Completed! Installed build " & latest as string)
- build_label's setStringValue_(" ")
+ status_label's setStringValue_("Finished!")
--do shell script "echo " & latest & " > .tmp/current_chromium"
end updateChromium_
Please sign in to comment.
Something went wrong with that request. Please try again.