Skip to content

Commit b0cf2bd

Browse files
authored
Merge pull request #177 from dosza/v0.6.x
v0.6.4
2 parents 9f036a6 + e305468 commit b0cf2bd

File tree

15 files changed

+183
-137
lines changed

15 files changed

+183
-137
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LAMW Manager
22

33

4-
[![Version](https://img.shields.io/badge/Release-v0.6.3-blue)](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/lamw_manager/docs/release_notes.md#v063---feb-5-2024) [![Build-status](https://img.shields.io/github/actions/workflow/status/dosza/LAMWManager-linux/main.yml?branch=v0.6.x)](https://github.com/dosza/LAMWManager-linux/releases/download/v0.6.3/lamw_manager_setup.sh) [![license](https://img.shields.io/github/license/dosza/LAMWManager-linux)](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/LICENSE) [![Stars](https://img.shields.io/github/stars/dosza/LAMWManager-linux?style=default)](https://github.com/dosza/LAMWManager-linux/stargazers)
4+
[![Version](https://img.shields.io/badge/Release-v0.6.4-blue)](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/lamw_manager/docs/release_notes.md#latest) [![Build-status](https://img.shields.io/github/actions/workflow/status/dosza/LAMWManager-linux/main.yml?branch=v0.6.x)](https://github.com/dosza/LAMWManager-linux/releases/download/v0.6.4/lamw_manager_setup.sh) [![license](https://img.shields.io/github/license/dosza/LAMWManager-linux)](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/LICENSE) [![Stars](https://img.shields.io/github/stars/dosza/LAMWManager-linux?style=default)](https://github.com/dosza/LAMWManager-linux/stargazers)
55

66
LAMW Manager is a command line tool,like *APT*, to automate the **installation**, **configuration** and **upgrade**<br/>the framework [LAMW - Lazarus Android Module Wizard](https://github.com/jmpessoa/lazandroidmodulewizard)
77

@@ -14,7 +14,7 @@ Linux Distro Supported:
1414
**Note**: Only Linux **x86_64** bits is supported!
1515
<p>
1616
<ul>
17-
<li><img src="https://www.debian.org/logos/openlogo-nd.svg" style="width: 16px;"/> Debian GNU/ Linux 12</li>
17+
<li><img src="https://www.debian.org/logos/openlogo-nd.svg" style="width: 16px;"/> Debian 12</li>
1818
<li><img src="https://assets.ubuntu.com/v1/29985a98-ubuntu-logo32.png" style="width: 16px;"/> Ubuntu 22.04 LTS</li>
1919
<li><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/249px-Tux.svg.png" style="width: 16px;"/> <a href="https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/lamw_manager/docs/other-distros-info.md">Requirements for other Linux</a>
2020
<ul>
@@ -53,12 +53,12 @@ LAMW Manager install the following [dependencies] tools:
5353

5454

5555
**Notes**
56-
1. The minimum Android API and Build Tools required by LAMW and specified in [*package.json*](https://github.com/jmpessoa/lazandroidmodulewizard/blob/v0.6.x/package.json) are installed
56+
1. The minimum Android API and Build Tools required by LAMW and specified in [*package.json*](https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/package.json) are installed
5757

5858
Getting Started!!
5959
---
6060
**How to use LAMW Manager:**
61-
+ Click here to download [*LAMW Manager Setup*](https://github.com/dosza/LAMWManager-linux/releases/download/v0.6.3/lamw_manager_setup.sh)
61+
+ Click here to download [*LAMW Manager Setup*](https://github.com/dosza/LAMWManager-linux/releases/download/v0.6.4/lamw_manager_setup.sh)
6262
+ Go to download directory and right click *Open in Terminal*
6363
+ Run command : *bash lamw_manager_setup.sh*¹
6464

@@ -94,11 +94,11 @@ Recommended:
9494

9595
Release Notes:
9696
---
97-
For information on new features and bug fixes read the [*Release Notes*](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/lamw_manager/docs/release_notes.md#v063---feb-5-2024)
97+
For information on new features and bug fixes read the [*Release Notes*](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/lamw_manager/docs/release_notes.md#latest)
9898

9999
Congratulations!!
100100
---
101101
You are now a Lazarus for Android developer!</br>[Building Android application with **LAMW** is **RAD**!](https://drive.google.com/open?id=1CeDDpuDfRwYrKpN7VHbossH6GfZUfqjm)
102102

103-
For more info read [**LAMW Manager v0.6.3 Manual**](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/lamw_manager/docs/man.md)
103+
For more info read [**LAMW Manager v0.6.4 Manual**](https://github.com/dosza/LAMWManager-linux/blob/v0.6.x/lamw_manager/docs/man.md)
104104

lamw_manager/assets/build-lamw-setup

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#-------------------------------------------------------------------------------------------------#
33
#Universidade federal de Mato Grosso (Alma Mater)
44
#Course: Science Computer
5-
#Version: 0.6.3
6-
#Date: 02/04/2024
5+
#Version: 0.6.4
6+
#Date: 02/06/2024
77
#Description: This script generates compiles LAMW Manager source code into an executable installer.
88
#Note: This script requires makeself, read more in https://makeself.io/
99
#-------------------------------------------------------------------------------------------------#

lamw_manager/assets/get-releases-notes.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,20 @@ VERSION=$(
1919
INDEX_MATCH_V=0
2020
INDEX_END=0
2121
VERSION_REGEX="$(GenerateScapesStr "$VERSION")"
22+
REGEX_VERSION_DELIMITER='(^###)'
2223

2324
arrayMap RELEASES_NOTES_STREAM line index '
2425
if [[ "$line" =~ $VERSION_REGEX ]]; then
2526
INDEX_MATCH_V=$index
26-
break
27+
return
2728
fi'
2829

2930
RELEASES_NOTES_STREAM=(${RELEASES_NOTES_STREAM[@]:$INDEX_MATCH_V})
31+
3032
arrayMap RELEASES_NOTES_STREAM line index '
31-
if [[ "$line" =~ "---" ]] && [ $index -gt $INDEX_MATCH_V ]; then
33+
if [[ "$line" =~ $REGEX_VERSION_DELIMITER ]] && [ $index -gt $INDEX_MATCH_V ]; then
3234
INDEX_END=$index
33-
let INDEX_END-=1
34-
break
35+
return
3536
fi'
3637

3738
arraySlice RELEASES_NOTES_STREAM 0 $INDEX_END RELEASES_NOTES_STREAM_F

lamw_manager/core/cross-builder/cross-builder.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#-------------------------------------------------------------------------------------------------#
33
#Universidade federal de Mato Grosso (Alma Mater)
44
#Course: Science Computer
5-
#Version: 0.6.3
6-
#Date: 02/04/2024
5+
#Version: 0.6.4
6+
#Date: 02/06/2024
77
#Description:The "cross-builder.sh" is part of the core of LAMW Manager. This script contains crosscompile compiler generation routines for ARMv7 / AARCH64- Android
88
#-------------------------------------------------------------------------------------------------#
99

lamw_manager/core/headers/.init_lamw_manager.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#-------------------------------------------------------------------------------------------------#
33
#Universidade federal de Mato Grosso (Alma Mater)
44
#Course: Science Computer
5-
#Version: 0.6.3
6-
#Date: 02/04/2024
5+
#Version: 0.6.4
6+
#Date: 02/06/2024
77
#Description: The ".init_lamw_manager.sh" is part of the core of LAMW Manager. This script check conditions to init LAMW Manager
88
#-------------------------------------------------------------------------------------------------#
99

lamw_manager/core/headers/.lamw_comple.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#-------------------------------------------------------------------------------------------------#
33
#Universidade federal de Mato Grosso (Alma Mater)
44
#Course: Science Computer
5-
#Version: 0.6.3
5+
#Version: 0.6.4
66
#Description: This script contains routines for completing LAMW Manager arguments.
77
#Ref:https://www.vivaolinux.com.br/dica/Shell-script-autocompletion-Como-implementar
88
#-------------------------------------------------------------------------------------------------#

lamw_manager/core/headers/lamw4linux_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#-------------------------------------------------------------------------------------------------#
33
#Universidade federal de Mato Grosso (Alma Mater)
44
#Course: Science Computer
5-
#Version: 0.6.3
6-
#Date: 02/04/2024
5+
#Version: 0.6.4
6+
#Date: 02/06/2024
77
#Description: The "lamw_headers" is part of the core of LAMW Manager. This script contains LAMW Manager variables.
88
#-------------------------------------------------------------------------------------------------#
99
LAMW_IDE_HOME_CFG="$LAMW_USER_HOME/.lamw4linux"

lamw_manager/core/headers/lamw_headers

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
#-------------------------------------------------------------------------------------------------#
33
#Universidade federal de Mato Grosso (Alma Mater)
44
#Course: Science Computer
5-
#Version: 0.6.3
6-
#Date: 02/04/2024
5+
#Version: 0.6.4
6+
#Date: 02/06/2024
77
#Description: The "lamw_headers" is part of the core of LAMW Manager. This script contains LAMW Manager variables.
88
#-------------------------------------------------------------------------------------------------#
99

1010
#--------------------------------------------------------------------------------------------------
1111
# Section Version Variables
1212
#--------------------------------------------------------------------------------------------------
1313

14-
LAMW_INSTALL_VERSION="0.6.3"
14+
LAMW_INSTALL_VERSION="0.6.4"
1515
ANT_VERSION_STABLE='1.10.11'
1616
CMD_SDK_TOOLS_VERSION="9123335"
1717
CMD_SDK_TOOLS_VERSION_STR="8.0"
@@ -51,7 +51,7 @@ OLD_LAZARUS_STABLE_VERSION=(
5151
)
5252

5353
OLD_LAMW_INSTALL_VERSION=(
54-
0.6.{2..0}
54+
0.6.{3..0}
5555
0.5.9{.{2..1},}
5656
0.5.{8..0}
5757
0.4.{8..4}

lamw_manager/core/headers/parser.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
#!/usr/bin/env bash
22

3+
setLAMWManagerRunStr(){
4+
LAMW_MANAGER_RUN="./lamw_manager"
5+
if [ "$USE_SETUP" = "1" ]; then
6+
LAMW_MANAGER_RUN="bash lamw_manager_setup.sh"
7+
fi
8+
}
9+
310
lamw_manager_help(){
4-
local lamw_mgr="./lamw_manager"
11+
local lamw_mgr="$LAMW_MANAGER_RUN"
512
if [ "$USE_SETUP" = "1" ]; then
6-
lamw_mgr="bash lamw_manager_setup.sh\t${VERDE}--${NORMAL}"
13+
lamw_mgr="$LAMW_MANAGER_RUN\t${VERDE}--${NORMAL}"
714
fi
815

916
LAMW_OPTS=(
@@ -243,9 +250,9 @@ helloMessage(){
243250
local style3=$'\e[1;'$italic'm'
244251
local version_message="${style3}v${LAMW_INSTALL_VERSION}${NORMAL}"
245252

246-
local lamw_mgr="./lamw_manager"
253+
local lamw_mgr="$LAMW_MANAGER_RUN"
247254
if [ "$USE_SETUP" = "1" ]; then
248-
lamw_mgr="bash lamw_manager_setup.sh\t${VERDE}--${NORMAL}"
255+
lamw_mgr="$LAMW_MANAGER_RUN\t${VERDE}--${NORMAL}"
249256
fi
250257

251258
if [ $NOBLINK = 0 ]; then
@@ -273,6 +280,7 @@ parseOpts(){
273280
}
274281

275282
initialConfig(){
283+
setLAMWManagerRunStr
276284
setSignalHandles
277285
parseOpts
278286
helloMessage 1>&2

lamw_manager/core/installer/installer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#-------------------------------------------------------------------------------------------------#
33
#Universidade federal de Mato Grosso (Alma Mater)
44
#Course: Science Computer
5-
#Version: 0.6.3
6-
#Date: 02/04/2024
5+
#Version: 0.6.4
6+
#Date: 02/06/2024
77
#Description: "installer.sh" is part of the core of LAMW Manager. Contains routines for installing LAMW development environment
88
#-------------------------------------------------------------------------------------------------#
99

0 commit comments

Comments
 (0)