Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

vive上传工具

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

v.1.0.

VIVEPORT Command Line Uploader Readme


The VIVEPORT Command Line Uploader provides an alternative methodology to upload a binary build to
the VIVEPORT platform which streamlines the upload process and providing several advantages over the
standard browser-based upload method such as support for resumable uploads.

Requirements:
(1) App status = “Draft”: Please ensure the status of the app you want to upload is currently set to “Draft”
within in the Developer Console. If the status is not set to “Draft”, the upload attempt will fail. To set
the status to 'Draft' you can create a new title or select your published title and select 'EDIT'.

(2) Attributes: You’ll need to have the following information ready before uploading your app using the
Viveport Command Line Uploader. In the following examples, we will upload a fictious app called
“The Game” using the following attributes:

 Email: user123@email.com // The email associated with your Viveport developer account login.

 Password: 12345678 // The password associated with your developer account.

 File path: D:\TheGame.zip // The file path of your target build’s .ZIP archive.

 App Id: f8b3cb81-95b5-4b54-b5df-c1eda1c2d835 // Obtained from your app listing within the dev
console.

 Org Id: 123456 // Your Organization ID. Obtained from the dev console.

 Version: 1.2.3 //The build’s version number.

1
v.1.0.0

NOTE:
Org Id is an optional field - If empty the tool will prompt a list of Org Ids to choose from.
App Id is an optional field - If empty the tool will prompt a list of App Ids to choose from.

1. Via Command line arguments:

Uploading a build via command line:

Step 1: Run cmd.exe to open a new command prompt.

Step 2: Execute a command with the correct arguments specific to your account and build.

Command:

ViveportUploader.exe -email -password -filepath -appid -orgid -version

Example:

ViveportUploader.exe -email user123@email.com -password 12345678 -filepath


D:\TheGame.zip -appid f8b3cb81-95b5-4b54-b5df-c1eda1c2d835 -orgid 123456 -version
1.2.3

Resuming an Upload task:

If the upload of your file fails due to an unexpected network disconnection or closure of the uploader, you
can resume the upload task by simply re-executing the exact same command again:

Step 1: Run cmd.exe

Step 2: Execute the same command as you previously executed. The upload should resume.

2
v.1.0.0

2. Using a custom configuration config file:

Generating a configuration file and starting an upload task:

Step 1: Create a text file named “config.txt” and populate it with your upload parameters using the
provided example template. Save within the same folder as ViveportUploader.exe

config.txt Template Example:

{
"email": "user123@email.com",
"password": "12345678",
"filePath": "D:\TheGame.zip",
"appid": "f8b3cb81-95b5-4b54-b5df-c1eda1c2d835",
"orgid": "123456",
"version": "1.2.3"
}

"email":"user123@email.com",

"password":"12345678",

"filepath":"D:\TheGame.zip",

"appid":"f8b3cb81-95b5-4b54-b5df-c1eda1c2d835",

3
v.1.0.0

"orgid":"123456",

"version":"1.2.3"

Step 2: Execute the VIVEPORT Command Line Uploader via command line (without arguments) or
simply double click the .exe within Windows explorer.

Command:ViveportUploader.exe

Example:

D:\> ViveportUploader.exe

Resuming an Upload task:

If the upload of your file fails due to a networking interruption or unexpected closure of the uploader, you
can resume the upload process by simply re-executing the exact same command again or by double
clicking ViveportUploader.exe within Windows Explorer. The upload should resume.

4
v.1.0.0

Command Parameters:
Parameter Description

-email [Required] The email that you use to log into the VIVEPORT Developer Console.

-password [Required] The login password for your Viveport developer account.

[Required] The file path of your Viveport build’s ZIP file. Please ensure you’re the path
-filepath
only contains single-backslashes, e.g.: D:\app.zip

[Optional parameter]

The APP ID can be found in Developer Console > MY TITLES > My Titles >
VIVEPORT Listing.

Note: If the appid is not provided via argument, the tool will provide a list of app id that
-appid are available. You will be prompted to select an index for the correct listing.

5
v.1.0.0

[Optional parameter]

Your Organization ID can be found by:


1. Clicking the Profile button on the console’s navigation bar

2. Clicking the DEV PROFILE button on the dropdown menu

-orgid

3. You will find the Organization ID on the Organization Profile page

Note: If the OrgId is not provided by you via an argument, the tool will list all the OrgId
that the developer account belongs to. You will be prompted to select an index for the
correct OrgId to proceed.

6
v.1.0.0

[Optional parameter]

Fill in the version number to update version number. Found in Developer Console > My
Titles > Binary Build.

-version

You might also like