Skip to content

Commit

Permalink
- Version number and TestFlight update
Browse files Browse the repository at this point in the history
- No scaling for desktop
  • Loading branch information
ramvibhakar committed Aug 17, 2015
1 parent 666183b commit 331a995
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions KSKApp_Air/src/KSketch_Portable-app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
<versionNumber>2.0.7</versionNumber>
<versionNumber>2.1.1</versionNumber>

<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
<versionLabel>2.0.7</versionLabel>
<versionLabel>2.1.1</versionLabel>

<!-- Description, displayed in the AIR application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
Expand Down Expand Up @@ -277,10 +277,8 @@
<key>get-task-allow</key>
<false/>
<!-- beta-reports-active flag is true only for test flight deployment -->
<!--
<key>beta-reports-active</key>
<true/>
-->
]]>
</Entitlements>
</iPhone>
Expand Down
2 changes: 1 addition & 1 deletion KSKInterface/src/sg/edu/smu/ksketch2/KSketchGlobals.as
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ package sg.edu.smu.ksketch2
public static function setView():void
{

if(Capabilities.playerType != "PlugIn")
if(Capabilities.playerType != "PlugIn" && Capabilities.playerType != "Desktop")
{
if(Capabilities.screenResolutionX > Capabilities.screenResolutionY)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ package sg.edu.smu.ksketch2.canvas.controls
var arr:Array = cachedDocuments;
if(arr !=null){
for(var i:int=0;i<arr.length;i++){
if(arr[i].fileName = _selectedSketch[0]){
if(arr[i].fileName == _selectedSketch[0]){
sketchData = new KSketch_DataListItem(arr[i].fileData, arr[i].fileName, arr[i].originalName,
arr[i].owner_id, arr[i].modified, arr[i].changeDescription,
arr[i].sketchId, int(arr[i].version));
Expand Down Expand Up @@ -292,7 +292,7 @@ package sg.edu.smu.ksketch2.canvas.controls
var arr:Array = cachedDocuments;
if(arr !=null){
for(var i:int=0;i<arr.length;i++){
if(arr[i].fileName = _selectedSketch[0]){
if(arr[i].fileName == _selectedSketch[0]){
sketchData = new KSketch_DataListItem(arr[i].fileData, arr[i].fileName, arr[i].originalName,
arr[i].owner_id, arr[i].modified, arr[i].changeDescription,
arr[i].sketchId, int(arr[i].version));
Expand Down

0 comments on commit 331a995

Please sign in to comment.