diff --git a/docs/version.js b/docs/version.js index c9711c84c..8cc3962ed 100644 --- a/docs/version.js +++ b/docs/version.js @@ -1,11 +1,11 @@ var versionInfo = { "links": { - "windows": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.4-windows.exe", - "osx": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.4-osx.dmg", - "linux": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.4-linux.run.zip", - "linux_x64": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.4-linux-x64.run.zip", - "others": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/tag/v2.7.4" + "windows": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.5-windows.exe", + "osx": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.5-osx.dmg", + "linux": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.5-linux.run.zip", + "linux_x64": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/download/v2.7.4/portugol-studio-2.7.5-linux-x64.run.zip", + "others": "https://github.com/UNIVALI-LITE/Portugol-Studio/releases/tag/v2.7.5" }, - "versionString": "2.7.4", - "releaseDate": 1563571770181 + "versionString": "2.7.5", + "releaseDate": 1606436483088 } \ No newline at end of file diff --git a/ide/src/main/java/br/univali/ps/ui/carrossel/CarrosselCursos.java b/ide/src/main/java/br/univali/ps/ui/carrossel/CarrosselCursos.java index ed98dd954..674601b02 100644 --- a/ide/src/main/java/br/univali/ps/ui/carrossel/CarrosselCursos.java +++ b/ide/src/main/java/br/univali/ps/ui/carrossel/CarrosselCursos.java @@ -269,14 +269,8 @@ private void carregaImagens() { } private void abreLinkCursoAtual() { - if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) { - Curso curso = cursos.get(cursoAtual); - try { - Desktop.getDesktop().browse(new URI(curso.getLink())); - } catch (Exception ex) { - ex.printStackTrace(); - } - } + Curso curso = cursos.get(cursoAtual); + WebConnectionUtils.abrirSite(curso.getLink()); } private void mostraCursoAnterior() throws IOException { diff --git a/ide/src/main/resources/version.properties b/ide/src/main/resources/version.properties index d5f69481e..fac879098 100644 --- a/ide/src/main/resources/version.properties +++ b/ide/src/main/resources/version.properties @@ -1,6 +1,6 @@ -majorVersion=2 -buildVersion=4 +buildVersion=5 +mavenGroupId=br.univali.portugol releaseName= +buildDate=1606436483088 +majorVersion=2 minorVersion=7 -buildDate=1563571770181 -mavenGroupId=br.univali.portugol diff --git a/installer/arquivos/linux/package/leia.txt b/installer/arquivos/linux/package/leia.txt index 90a2cbdb3..d20562e05 100644 --- a/installer/arquivos/linux/package/leia.txt +++ b/installer/arquivos/linux/package/leia.txt @@ -29,21 +29,21 @@ $ cd /home/pedro/Downloads. Logo após, digite os comandos abaixo em sequência (sem o $): -$ chmod 755 portugol-studio-2.7.4.run +$ chmod 755 portugol-studio-2.7.5.run ou caso seu linux seja 64 bits: -$ chmod 755 portugol-studio-2.7.4-x64.run +$ chmod 755 portugol-studio-2.7.5-x64.run Feito isso, execute o progama de instalação digitando o comando abaixo: -$ sudo ./portugol-studio-2.7.4.run +$ sudo ./portugol-studio-2.7.5.run ou caso seu linux seja 64 bits: -$ sudo ./portugol-studio-2.7.4-x64.run +$ sudo ./portugol-studio-2.7.5-x64.run Note que existe um ponto "." e uma barra "/" antes do nome do arquivo. Estes