Skip to content

Commit 064ce41

Browse files
committed
Fix for powershell script
1 parent 31b5b0c commit 064ce41

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

app/Appwrite/services/client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
$cli
110110
->task('version')
111111
->action(function() {
112-
Console::log('CLI Version : 0.9.0');
112+
Console::log('CLI Version : 0.10.0');
113113
Console::log('Server Version : 0.8.0');
114114
});
115115

install.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ $APPWRITE_EXECUTABLE_FILEPATH = Join-Path -Path $APPWRITE_INSTALL_DIR -ChildPath
2525
$APPWRITE_CLI_IMAGE_NAME = "appwrite/cli"
2626

2727
# Appwrite CLI image version
28-
$APPWRITE_CLI_IMAGE_VERSION = "0.9.0"
28+
$APPWRITE_CLI_IMAGE_VERSION = "0.10.0"
2929

3030
$APPWRITE_EXECUTABLE_CONTENT = @"
31-
$allowList = 'version', 'help', 'init', 'client' , 'account', 'avatars', 'database', 'functions', 'health', 'locale', 'storage', 'teams', 'users'
32-
if ( $args.count -eq 0 ) {
33-
$args += 'help'
31+
`$allowList = 'version', 'help', 'init', 'client' , 'account', 'avatars', 'database', 'functions', 'health', 'locale', 'storage', 'teams', 'users'
32+
if ( `$args.count -eq 0 ) {
33+
`$args += 'help'
3434
}
3535
36-
if ( -not ($allowList -contains $args[0])) {
36+
if ( -not (`$allowList -contains `$args[0])) {
3737
Write-Host "Looks like a crazy hamster flipped a bit.`n`nUse appwrite help for a list of supported commands."
3838
exit 1
3939
}

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ APPWRITE_TEMP_NAME=temp
3030
APPWRITE_CLI_IMAGE_NAME=appwrite/cli
3131

3232
# Appwrite CLI image version
33-
APPWRITE_CLI_IMAGE_VERSION=0.9.0
33+
APPWRITE_CLI_IMAGE_VERSION=0.10.0
3434

3535
# sudo is required to copy executable to APPWRITE_INSTALL_DIR for linux
3636
USE_SUDO="false"

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Client
2929
*/
3030
private $headers = [
3131
'content-type' => '',
32-
'x-sdk-version' => 'appwrite:cli:0.9.0',
32+
'x-sdk-version' => 'appwrite:cli:0.10.0',
3333
'X-Appwrite-Response-Format' => '0.8.0' ];
3434

3535
/**

0 commit comments

Comments
 (0)