Skip to content

Commit ed3d628

Browse files
committed
Alpha-4
1 parent 79b0cae commit ed3d628

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

develnext/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ task distIdeWindowsSetup(dependsOn: ['distIdeWindows']) {
110110

111111
if (new File(uploadPath).isDirectory()) {
112112
copy {
113-
from "$project.buildDir/install/$project.name/DevelNextSetup.exe"
113+
from "$project.buildDir/distributions/DevelNextSetup.exe"
114114
into "$uploadPath/YandexDisk"
115115
}
116116
}

develnext/launcher/DevelNext.exe

0 Bytes
Binary file not shown.

develnext/src/ide/forms/SharedProjectDetailForm.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function __construct($uid, $forUpload = false)
7676

7777
public function isAuthRequired()
7878
{
79-
return false;
79+
return $this->forUpload;
8080
}
8181

8282
protected function init()
@@ -234,11 +234,11 @@ public function doCopyUrl()
234234
*/
235235
public function doShow()
236236
{
237-
if (!Ide::accountManager()->isAuthorized()) {
238-
return;
239-
}
240-
241237
if ($this->reuploadButton) {
238+
if (!Ide::accountManager()->isAuthorized()) {
239+
return;
240+
}
241+
242242
$this->reuploadButton->enabled = true;
243243
}
244244

develnext/src/ide/protocol/handlers/OpenProjectProtocolHandler.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public function handle($query)
3434
{
3535
$uid = str::sub($query, str::length('project:'));
3636

37+
if (str::endsWith($uid, '/')) {
38+
$uid = str::sub($uid, 0, str::length($uid) - 1);
39+
}
40+
3741
uiLater(function () use ($uid) {
3842
Ide::service()->projectArchive()->getAsync($uid, function (ServiceResponse $response) use ($uid) {
3943
if ($response->isSuccess()) {

0 commit comments

Comments
 (0)